You are not logged in.

#1 2009-09-24 11:27:30

pisio
Member
Registered: 2009-09-20
Posts: 12

There isn't mysql in php after upgrade.

I saw on the main page of the site that has updates, I decided to update.
pacman-Su and then can not start httpd and mysqld, reinstalled them and checked all the conf files that are fine. Were in excellent health and OK.No now as I try to run any script that has mysql and .....


Fatal error: Call to undefined function mysql_connect() in /srv/http/anime/libs/mysql.php on line 9

IF  I must show system files , i will ! sad


My English is very bad, sorry me.Imam lot of problems with this site and now the server and come directly to me (headbang)
I would be very grateful if you could help me this time, as before:)

Offline

#2 2009-09-24 11:56:41

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: There isn't mysql in php after upgrade.

did you review php.ini.pacnew?. now php is using mysqlnd. if i were in your place i do, mv php.ini php.ini.old && mv php.ini.pacnew php.ini

Last edited by wonder (2009-09-24 11:58:20)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-09-24 17:01:28

pisio
Member
Registered: 2009-09-20
Posts: 12

Re: There isn't mysql in php after upgrade.

After That I can't  run mysql.

Offline

#4 2009-09-24 17:05:42

GravityGripp
Member
Registered: 2008-12-03
Posts: 14

Re: There isn't mysql in php after upgrade.

Edit your php.ini file and uncomment 'extension=mysql.so'

Offline

#5 2009-09-25 00:28:11

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: There isn't mysql in php after upgrade.

And maybe read the frontpage news?

Offline

#6 2009-09-25 10:07:22

pisio
Member
Registered: 2009-09-20
Posts: 12

Re: There isn't mysql in php after upgrade.

OK I fixed php.ini  but still  run mysql.

[pisio@myhost ~]$ sudo /etc/rc.d/httpd start
:: Starting httpd daemon                                                                    [DONE]
[pisio@myhost ~]$ sudo /etc/rc.d/httpd restart
:: Restarting httpd daemon                                                                  [DONE]
[pisio@myhost ~]$ sudo /etc/rc.d/mysqld start
:: Starting MySQL                                                                           [FAIL]
[pisio@myhost ~]$ sudo /etc/rc.d/mysqld stop
:: Stopping MySQL                                                                           [FAIL]
[pisio@myhost ~]$

Offline

#7 2009-09-25 10:55:36

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: There isn't mysql in php after upgrade.

Run mysqld directly, it will give you error output. The daemon scripts obscure the output.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2009-09-26 00:32:54

pisio
Member
Registered: 2009-09-20
Posts: 12

Re: There isn't mysql in php after upgrade.

result is  [FAIL] and mysql and  http yikes
    I do not know how to put it in another way to show errors.

[pisio@myhost ~]$ sudo /etc/rc.d/httpd start
Password:
:: Starting httpd daemon                                                                    [FAIL
[pisio@myhost ~]$ su
Password:
[root@myhost pisio]# /etc/rc.d/httpd start
:: Starting httpd daemon                                                                    [FAIL]

In what other way to try to run? Since my name already, you will play and 2 -3 minutes to upload new files hosting.    I do not see sense to get angry with it. Slough. Thank you guys for trying to help me.

Last edited by pisio (2009-09-26 00:35:27)

Offline

#9 2009-09-26 00:56:04

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: There isn't mysql in php after upgrade.

Look in /etc/rc.d/httpd and see what command it is running for the "start" option.  Run that manually and you will hopefully see some error output.

Offline

Board footer

Powered by FluxBB