livestrong
Technical User
Hi Everyone,
I'm trying to get php working from the command line / terminal. (os - fedora core 4)
Just trying to run a simple test script to echo a variable.
when i try run the script
->php test.php
Im getting the following error
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/ldap.so' - /usr/lib/php/modules/ldap.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: D¡/: Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
Any ideas??
I'm trying to get php working from the command line / terminal. (os - fedora core 4)
Just trying to run a simple test script to echo a variable.
Code:
#!/usr/bin/php
<?php
$test = 'mytest';
echo $test;
?>
when i try run the script
->php test.php
Im getting the following error
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/ldap.so' - /usr/lib/php/modules/ldap.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: D¡/: Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
Any ideas??