PHP Startup: Unable to load dynamic library [closed] - php

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 !

Related

Upgraded PHP to 7.4 and PDO is not found [closed]

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 work for a school that has a new webservice we are trying to build for the school. I wanted to upgrade the PHP from 5.6 to 7.4 so we can run some extensions. However, the website connects to a PostgreSQL database using the PDO function
conn = new PDO("pgsql:host=*** dbname=***","***", "***");
Now that we upgraded, we are receiving an error
PHP Fatal error: Uncaught Error: Class 'PDO' not found in
I went to easy apache 4 and made sure php74-php-pdo was installed. What else am I missing?
Every day this is broken we will be missing data. Please help.
I switched out PDO and put in pg_connect. It seems to connect to the database just fine. I'll have to keep an eye on it to make sure it is working properly.

Source code appears with apache, why repare? [closed]

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

Remove weird looking orange PHP errors on Debian [closed]

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 8 years ago.
Improve this question
I set up a Debian virtual machine for local development, but funny enough any kind of PHP errors are displayed in an (too me) unusual design, with a orange table layout... How can I make PHP display errors the with the "traditional" design?
Update (added system explanation and screenshot):
It's Debian running on a virtual machine on my Mac using VirtualBox.
Based on the comment from Bojangles I investigated and found xdebug to be enabled. Disabling it removed the "orange" error output, and I now get "normal" error display.
I disabled it by removing the link to include the xdebug extension in /etc/php5/conf.d

Where is the included PHP interpreter in the GAE SDK? [closed]

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

Unable to load Sphinx.so dynamic library after PHP upgrade [closed]

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.

Categories