Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am upgrade PHP to 5.4.4.1 on my debian server.
I have some modules from PECL, and now one of them shows:
#php --ini
PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/sphinx.so' - /usr/lib/php5/20100525/sphinx.so: undefined symbol: sphinx_open in Unknown on line 0
reinstall form PECL don't resolve problem, what can I do?
Frankly just uninstall the extension. Its not worth the bother.
Just include sphinxapi.php in your scripts instead.
The pure PHP version actully performs better than the extension, and is in sync with the server - so can do all the latest features, and contact the latest version of sphinx correctly.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am on Centos 7.8 and I wanted to know where I can find information (website or others) that will tell me if PHP 7.3 or 7.4 is compatible with my OS?
It's not CentOS that is responsible for compatibility, but Apache.
According to PHP.net, All 1.x and 2.x versions of Apache are supported on Linux x86 and amd64. PHP7 doesn't appear to be compatible with Apache 1.x, although there are some hacky ways to make it work, but I wouldn't recommend that. 7.3 and 7.4 are both fully compatible with Apache 2.x.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I own a site installed on my linux server but when I put PHP tags at the beginning of page, the source code appears..
How to avoid all the source code displayed ?
thank you in advance
This means that you are being served the file by Apache without it first being seen (processed) by PHP. Here are some troubleshooting tips as to why it isn't being processed by PHP:
Make sure that your file with the PHP tags ends in .php.
Make sure PHP is installed on your server. To install PHP on a debian server run sudo apt-get install php5
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am using the Opscode community PHP cookbook to install PHP on a node. The node is CentOS and I have attempted setting the install_method to "source" and also tried overriding the version in my Role file.
No matter what I do - Chef continues to install PHP 5.3.3.
I want to know how to use this cookbook to install a newer version of PHP - or understand if it's even possible. I see references to PHP 5.3.28 and 5.4.15 in the default attribute settings - so I am under the impression that it should be possible.
Does anyone know how I might accomplish this?
Chef simply uses the packages available in the systems package repositories. So that might be 5.3 in your case.
The reference to 5.4.15 is for the source install. You'd have to use another recipe
php::source
You could set the preferred version for PHP from chef
:php => {
:version => "5.5",
},
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Google App Engine version 1.8.5 clearly says that "the Mac OSX SDK now includes a PHP interpreter, installing PHP separately is no longer required." However, I don't seem to find it. I know I could just install php-cgi on my own, but if it were indeed included in the SDK, I wouldn't want to install another copy.
It is here: /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/php-cgi
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
After changing PHP version from 5.3.3 to 5.4, my sever (Centos5) did not work.
Taking it back to 5.3.3, I get the following error message from the CLI (I'm using Symfony2) :
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib64/php/modules/newrelic.so'
- /usr/lib64/php/modules/newrelic.so: undefined symbol:
php_output_write in Unknown on line 0
I did a few workaround on solutions, none of them worked..
/usr/bin/newrelic-install
/etc/init.d/httpd restart
Did the trick. I guess that the module newrelic were not reinstalled properly.
Thanks !