This topic contains 2 replies, has 2 voices, and was last updated by Frank 4 years, 5 months ago.
- Topic
Hi there,
I use orocommerce 3.1.9. For developmental purposes it would be great to use Symfony’s internal web-server:
$ oroapp> symfony server:ca:install
$ oroapp/public> symfony serve
Nov 11 14:59:41 |DEBUG| PHP Using PHP version 7.1.30 (from .php-version in current directory (/usr/share/nginx/html/oroapp319/public/.php-version))
Nov 11 14:59:41 |INFO | PHP listening path=”/opt/remi/php71/root/usr/bin/php-cgi” php=”7.1.30″ port=37163
Nov 11 14:59:41 |DEBUG| PHP started
[OK] Web server listening on https://127.0.0.1:8000 (PHP CGI 7.1.30)…
Calling https://localhost:8000 in my Browser results in an error:
In DriverManager.php line 181:
(1/1) ClassNotFoundException
Attempted to load class “PDO” from the global namespace.
Did you forget a “use” statement?And the error-log says:
Nov 11 15:01:51 |ERROR| SERVER GET (500) / ip=”127.0.0.1″Would it be possible to run orocommerce with symfony’s local Webserver , and if yes – how?
Thanks a lot
FrankPS: For me it is an easy way (1) to use https://, and (2) to switch php-versions (7.1 -> 7.2 -> 7.1 …), which is easy with this webserver.
The forum ‘OroCommerce’ is closed to new topics and replies.