I am new in Symfony 2. I am using Windows 8. I am trying to install Symfony 2. Location of my htodcs is D:\php\htdocs. Location of my Composer is D:\php\php\composer.phar. I am trying to install Symfony 2 using this command D:\php\htdocs>php D:\php\php\composer.phar create-project symfony/framework-standard-edition my_symfony. While this command is executing I got the following message.
After executing that command I got following message in CMD.
Warning: PHP Startup: Unable to load dynamic library 'D:\php\php\ext\intl.so' -
The specified module could not be found.
in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'D:\php\php\ext\intl.so' -
The specified module could not be found.
in Unknown on line 0
Clearing the cache for the dev environment with debug true
Warning: PHP Startup: Unable to load dynamic library 'D:\php\php\ext\intl.so' -
The specified module could not be found.
in Unknown on line 0
Trying to install assets as symbolic links.
Installing assets for Symfony\Bundle\FrameworkBundle into web/bundles/framework
It looks like your system doesn't support relative symbolic links, so the assets
were installed by using absolute symbolic links.
Installing assets for Sensio\Bundle\DistributionBundle into web/bundles/sensiodi
stribution
It looks like your system doesn't support relative symbolic links, so the assets
were installed by using absolute symbolic links.
If I browse http://localhost/my_symfony/web/app_dev.php
Then I got following errors
Can anyone say what can be solution ??
Thanks
For some reason php can't access intl.so extension. It could be that the extension is installed but php don't have permission to access it or you should install it yourself. Piece of advice, Windows operating system is not really that popular when it comes to web development. It would be difficult for you to search for answers that can be applied in Windows and this applies to future problems as well. Develop using unix based operating systems.
Related
I have PHP 7 in my Xampp but I want to run an older project in PHP 5 and codeigniter, so when I was setting up for two version of PHP on Xampp with config httpd-xampp.conf in according to the way (Add Directories to run specific PHP version) was in Stack Overflow in this link Is there way to use two PHP versions in XAMPP?, then I browse localhost/my_older_project I got many warning:
PHP Startup: Unable to load dynamic library 'c:\xampp\php\ext\bz2' -
The specified module could not be found.
PHP Startup: Unable to load dynamic library 'c:\xampp\php\ext\curl' -
The specified module could not be found.
PHP Startup: Unable to load dynamic library
'c:\xampp\php\ext\fileinfo' - The specified module could not be found.
PHP Startup: Unable to load dynamic library
'c:\xampp\php\ext\php_ftp.dll' - %1 is not a valid Win32 application.
What's wrong with this?
Instead of creating two versions of php, its better idea to simply use another webserver like wamp to run parallel with your xampp. If it port conflict occurs, you can simply change the port in either one's config.
I want to use mongodb with lumen framework (which is micro framework of laravel)
I have followed steps
check from my computer my system in 64bit windows
download dll file for 64 bit for mongodb download two zips and try both php_mongodb-1.5.3-7.0-nts-vc14-x64.zip , php_mongodb-1.5.3-7.0-ts-vc14-x64.zip
3.put dll file in php/ext
enable extension for mongodb in php.ini file extension=php_mongodb.dll
restart apache
now I want use jenssegers/mongodb
I have fire command as below:
composer require jenssegers/mongodb
It gives bwlow error
PHP Warning: PHP Startup: Unable to load dynamic library 'E:\xampp7\php\ext\php_mongodb.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'E:\xampp7\php\ext\php_mongodb.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
I have check phpinfo , it not shows me detail of mongo
https://laravel.com/docs/5.7/homestead is a solution for this and much more, very handy.
I am currently trying to install Softaculous on a web server (we use Hosting Controller Panel). I have an issue when running the installer.php file as directed in the instructions on the Softaculous web site.
The instructions say to open cmd and run C:\path\to\php.exe C:\softaculous\installer.php
When I do this I am given several error messages but the main issue I see is the installer.php is looking in the wrong directory (an older install of PHP) for ionCube loaders. Here is what I believe is the relevant portion of the command.
C:\Program Files (x86)\iis express\PHP\v5.6> php.exe C:\softaculous\installer.php
Failed loading C:\PHP\ext\ioncube_loader_win_5.6.dll
Failed loading C:\Program Files (x86)\PHP\v5.6\ext\ioncube_loader_win_5.6.dll
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_curl.dll' - The specified procedure could not be found. in Unknown on line 0*
You will notice that in bold the installer is trying to load PHP from a directory that I didn't specify, can anyone tell me why or how I might go about fixing this.
I have sought help from Softaculous and all they could tell me is PHP is not installed correctly.
Thank you in advance for any help you can offer I have been working on this problem for over a month.
use ampps http://www.ampps.com/
ampps have softaculous in it for windows
I tried to execute this command to install Symfony on my localhost
php -r "readfile('http://symfony.com/installer');" > symfony.phar
I got an error message in my Windows machine regarding this.
The error message is PHP Startup: Unable to load dynamic library 'D:\php\php\ext\intl.so' - The specified module could not found.
It is all about the php.ini file. On windows, the dynamic library files usually do not have the extesion .so (linux library) ... you have to have .dll there... and make sure the referenced file exists.
I'm trying to install Laravel4 on my 10.6 Mac / PHP 5.4.14. And I seem to be going down a rabbit hole.
After "composer install"ing Laravel4 .. command line showed that I needed the Mcrypt PHP extension. So I tried to install that and I was told I had to have Mhash installed. So I installed Mhash .. then went back and installed Mcrypt
extension = mcrypt.so
Libraries have been installed in:
/Users/****/downloads/php-5.4.14/ext/mcrypt/modules
Then I went back to installing Laravel 4 and now I'm showing this
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php/extensions/no-debug-non-zts-20100525/intl.so' - dlopen(/opt/local/lib/php/extensions/no-debug-non-zts-20100525/intl.so, 9): image not found in Unknown on line 0
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating autoload files
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/local/lib/php/extensions/no-debug-non-zts-20100525/intl.so' - dlopen(/opt/local/lib/php/extensions/no-debug-non-zts-20100525/intl.so, 9): image not found in Unknown on line 0
Laravel requires the Mcrypt PHP extension.
.. and I thought I had already taken care of that intl.so issue .. but it seems I installed an old version?
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
Laravel requires the Mcrypt PHP extension.
So can someone maybe give me a bit of perspective on this and point me in the right direction? I'm a little fuzzy with compiling PHP.
Your command line might be using a different version of PHP. You'll have to update your path variable in your .bash_profile file to point to the correct version of PHP.
How are you installing PHP?
I'm thinking the 5.4 version you installed is getting mixed up with the built-in 5.3 version that comes with OS X.