Search results

  1. T

    [Solved] Mysql cannot connect error after compiling php

    For anyone who is experiencing a similar problem, I solved it by locating all connections on Port 80 by using lsof -i tcp:80 ...from SSH terminal. Then kill all of those connections using kill -9 <pid number> Then I stopped apache service httpd stop Then I did a graceful...
  2. T

    [Solved] Mysql cannot connect error after compiling php

    The unable to connect error is when I try to access the development site's home page while running litespeed, with and without apache running. And the second error is on the phpmyadmin login page. Info on Port 80: netstat -antlp | grep 80 tcp 0 0 0.0.0.0:8088...
  3. T

    [Solved] Mysql cannot connect error after compiling php

    After making the changes, this is the error that I get when I try to access my home page: Database Error: Unable to connect to the database:The MySQL adapter "mysql" is not available. And this is the error I get when I try to access phpmyadmin: Cannot load mysql extension. Please check your...
  4. T

    [Solved] Mysql cannot connect error after compiling php

    Here's some additional information if it helps: usr/local/lsws/fcgi-bin/lsphp5 -i PHP: syntax error, unexpected '=' in /usr/local/lsws/lsphp5/lib/php.ini on line 156 phpinfo() PHP Version => 5.3.8 Configure Command => './configure' '--prefix=/usr/local/lsws/lsphp5' '--with-mysqli'...
  5. T

    [Solved] Mysql cannot connect error after compiling php

    I thought that was how it was supposed to be. I'll turn off apache and see if that solves the problem. Nope, problem remains. So I am not supposed to run apache alongside litespeed? As mentioned above, I have a very large magento store, so my ultimate goal here is to do whatever is necessary to...
  6. T

    [Solved] Mysql cannot connect error after compiling php

    Also, should this line be in the php after compiling with litespeed: include_path = ""./var/lib/php" because this is also there: include_path = ".:/usr/local/lsws/lsphp5/lib/php" ?
  7. T

    [Solved] Mysql cannot connect error after compiling php

    I've commented out those lines in my php.ini file and restarted litespeed, apache, and mysql but the problem still remains. What should I do next?
  8. T

    [Solved] Mysql cannot connect error after compiling php

    Thank you. Will this solve my problem?
  9. T

    [Solved] Mysql cannot connect error after compiling php

    And here are the contents of my my.conf file: MY.CONF CONTENTS: big-tables connect_timeout = 1200 datadir = /var/lib/mysql default-storage-engine = InnoDB interactive_timeout = 1200 join_buffer_size = 32M key_buffer = 4096M log=mysql.log log-error=/var/log/mysqld.log...
  10. T

    [Solved] Mysql cannot connect error after compiling php

    And here are the contents of my php.ini file: PHP.INI CONTENTS: allow_call_time_pass_reference = Off allow_url_fopen = On allow_url_include = Off asp_tags = Off auto_append_file = auto_globals_jit = On auto_prepend_file = bcmath.scale = 0 default_mimetype = "text/html" default_socket_timeout =...
  11. T

    [Solved] Mysql cannot connect error after compiling php

    Here is the result: /usr/local/lsws/fcgi-bin/lsphp5 -i | grep mysql PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20090626/mysql.so' - /usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20090626/mysql.so: cannot...
  12. T

    [Solved] Mysql cannot connect error after compiling php

    Hello, I've been trying everything that I've read to do over the last few days and nothing has worked. I was able to install and compile php with litespeed successfully, but I just can't seem to get MySql to connect. I made sure to configure --with-mysql and I made sure that the socket =...
  13. T

    Mysql Database Connectivity Issue

    Sorry for replying to an old thread, but I have the exact same problem with the mysql connection error and have tried everything and researched for days and have not been able to fix my problem. MaxX, if you remember, can you please describe how you fixed the problem? Thank you.
Top