Installing PHP + IIS + MySQL
Jan 8, 2007
I want install PHP near IIS and security is important for me.
I chose ISAPI is it good?
It works but I have problem in using MySQL I did not use PHP.ini for php5+ISAPI and it works how add mysql?
to make it useful with MySQL and make secure,
View 3 Replies
ADVERTISEMENT
Jul 23, 2009
I am currently using CentOS 5. I installed php-mysql, mysql-server, mysql and mysql-devl through yum install.
WhenI try to start mysqld I get this error
Code:
090722 20:17:32 mysqld started
090722 20:17:32 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
090722 20:17:32 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 36808.
InnoDB: Doing recovery: scanned up to log sequence number 0 43655
090722 20:17:32 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: Error: pthread_create returned 12
090722 20:17:33 mysqld ended
I obviously havn't done something correctly.
View 6 Replies
View Related
Jul 8, 2007
im trying to install mysql, apache and php on my new server and everytime i use the command - make install or make all it says is -bash: make: command not found.
View 2 Replies
View Related
Apr 22, 2007
I tried installing MySQL on a Windows 2000 Server. I went through all the wizards and I got an error because I needed to open a port. I am not really a server/network guy, its just a dev server for my programming. How do I go about opening the port for MySQL. And then how would I test the installation to know its all good?
View 3 Replies
View Related
May 29, 2009
I am trying to install MySQL from its RPM. I keep getting the following dependency issues and I have never seen these before. libc.so.6 is installed via glibc. I have all of the different glibc packages installed and I am lost. libc.so.6 is located in /lib/lib.so.6.
# rpm -i MySQL-server-community-5.1.34-0.rhel5.x86_64.rpm
error: Failed dependencies:
libc.so.6()(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libcrypt.so.1()(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libcrypt.so.1(GLIBC_2.2.5)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libdl.so.2()(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libdl.so.2(GLIBC_2.2.5)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libm.so.6()(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libm.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libnsl.so.1()(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libpthread.so.0()(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
libpthread.so.0(GLIBC_2.3.4)(64bit) is needed by MySQL-server-community-5.1.34-0.rhel5.x86_64
View 2 Replies
View Related
May 14, 2007
Here is where I stand..
OS: FRESH install of Unix Fedora Core 6
Kernel Version: Kernel 2.6.18-1/2798.fc6 on an i686
Hardware Information: Brand new Dell SC1435 Server
Software Version: MySQl 5
Control Panel: cPanel
A few things I did already..
#yum install mysql-server && service mysqld start
Nothing to do
mysqld: unrecognized service
#rpm -qa | grep mysql
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-connector-odbc-3.51.12-2.2
#ps -ef | grep -i mysql
root 15299 15114 0 16:55 pts/0 00:00:00 grep -i mysql
I don't see the mysql.sock file. What I can do to further troubleshoot this issue?
View 7 Replies
View Related
Mar 3, 2008
I've installed lighttpd and it works perfectly. However, when I browsed my blog I got the msg:
"Your PHP installation appears to be missing the MySQL which is required for WordPress."
Was there anything I missed? Should I install PHP again?
View 5 Replies
View Related
Nov 6, 2009
I have a VPS.
I have installed "Lighttpd, php5cgi, mysql-server, mysql-client,
libmysqlclient15-dev"
I have optimized the MySQL Server (/etc/mysql/my.cnf).
All these together just take 30 mb Memory.
Lighttpd use just 12mb memory And everything is very good.
But,
When I install php5 mod MySQL:
apt-get install php5-mysql
Then the Lighttpd memory increases to 90mb!
I am using updated Debian Lenny, MySQL5, php5.
View 6 Replies
View Related
Aug 7, 2008
I have two servers, one is web server, the other one is mysql server.
I am installing php on web server that does not have mysql installed.
when I do the follows:
./configure --prefix=/usr/local/webserver/php --with-config-file-path=/usr/local/webserver/php/etc --with-mysql=/usr/local/webserver/mysql --with-mysqli=/usr/local/webserver/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-debug --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-sendmail=/usr/sbin/sendmail
the script tells me error:
configure: error: Cannot find MySQL header files under /usr/local/webserver/mysql.
Note that the MySQL client library is not bundled anymore!
Because mysql installed on another physical server. so how may I fix the problem? can I configure php without "---with-mysql" and "--with-mysqli" parameters? I need my php could access remote mysql server.
View 3 Replies
View Related
May 8, 2009
Since my /var partition is full, so I moved /var/lib/mysql to /backup/mysql/.
Seems all the files are copied and I changed my.cnf reboot mysql, but all the web sites using db is not working anymore..
View 4 Replies
View Related
Jan 21, 2007
I installed the MySQL binary packages in /usr/local/mysql/ after removing the MySQL RPM package. MySQL is functioning when I executed /usr/local/mysql/bin/safe_mysqld. I reinstalled MySQL before I installed PHP. When I used a PHP script to access a MySQL database, it outputs an error:
Code:
Warning: mysqli::mysqli() [function.mysqli-mysqli]: (HY000/2002): can't connect to local mysql server through socket /var/lib/mysql/mysql.sock in index.php on line 2
However, I installed MySQL in /usr/local/mysql, not in /var/lib/mysql. How do I fix MySQL?
View 1 Replies
View Related
Jun 23, 2008
To install the GD graphics library for PHP, is recompiling the only method? And would recompiling PHP break things?
View 12 Replies
View Related
Feb 27, 2008
just recently upgraded from a fully managed VPS to a Dedicated Server. Everything seemed to be going fine, until I tried installing RoR. I have RubyGems installed and all that, but whenever I try to install Rails, the following happens.
[root@server1 ~]# gem install rails --include-dependencies
Libsafe version 2.0.16
Detected an attempt to write across stack boundary.
Terminating /usr/bin/ruby-bin.
uid=0 euid=0 pid=9614
Call stack:
0x519df871 /lib/libsafe.so.2.0.16
0x519dfc5d /lib/libsafe.so.2.0.16
0x80549b8 /usr/bin/ruby-bin
0x8054a52 /usr/bin/ruby-bin
0x80556af /usr/bin/ruby-bin
0x806132f /usr/bin/ruby-bin
0x8061de6 /usr/bin/ruby-bin
0x809eb06 /usr/bin/ruby-bin
0x8055681 /usr/bin/ruby-bin
0x805de6d /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c5e6 /usr/bin/ruby-bin
0x8059c53 /usr/bin/ruby-bin
0x8064680 /usr/bin/ruby-bin
0x805de6d /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c4df /usr/bin/ruby-bin
0x805d776 /usr/bin/ruby-bin
0x805ae8a /usr/bin/ruby-bin
0x805d2ad /usr/bin/ruby-bin
0x805e66a /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c4df /usr/bin/ruby-bin
0x8062e68 /usr/bin/ruby-bin
0x805b9b2 /usr/bin/ruby-bin
0x805e66a /usr/bin/ruby-bin
0x805ea6c /usr/bin/ruby-bin
0x805c5e6 /usr/bin/ruby-bin
0x805d776 /usr/bin/ruby-bin
Overflow caused by memcpy()
Killed
View 9 Replies
View Related
Nov 12, 2008
Main >> Software >> Apache Update
I've read through a number of threads regarding installing GD. So sorry for yet another, but I just want to make sure that I'm doing this correctly.
As seen in the attachment below I'm presented with a few options:
Previously Saved Config (** DEFAULT **)
Basic (If your previous build has failed, please use this option)
No PHP
PHP Encryption / E-commerce
PHP Encryption and Image Manipulation
PHP Image Manipulation
PHP Security
Should I start by selecting the option "Previously Saved Config (** DEFAULT **)" and then "Start Customizing Based On Profile"?
I've walked through the steps doing the above and have a question about the last section. Viewing the Exhaustive Options List shows GD as already checked yet towards the bottom I see a checkbox with the following (second attachment below):
Quote:
Save my profile with appropriate PHP 5 options set so that it is compatible with cpphp
This option will make the following changes to your profile prior to the build:
Enables:
CurlSSL
FTP
GD
Gettext
Iconv
Imap
Mbregex
Mbstring
Mysql
Mysql of the system
PGsql
Sockets
Zlib
Should I check to save and then click "Save and Build" to get GD installed?
Some additional information: I have downloaded my default profile. (lol Let's hope I don't have to use it because I wouldn't know where to begin!)
My php.ini file shows that GD is not installed or at least not compiled (if that's the right word to use). To clarify, GD is not in the list.
I have tried yum install pgp-gd and get the following:
root@server [~]# yum install php-gd
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: styx.biochem.wfubmc.edu
* updates: mirror.raystedman.net
* addons: dist1.800hosting.com
* extras: mirrors.easynews.com
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
No package php-gd available.
Nothing to do
root@server [~]# No package php-gd available.
root@server [~]# rpm -q php-gd
package php-gd is not installed
root@server [~]# php -m
[PHP Modules]
bcmath
calendar
ctype
date
dom
eAccelerator
filter
ftp
hash
iconv
imap
json
libxml
memcache
mysql
pcre
posix
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
eAccelerator
root@server [~]# yum list | grep -i gd
gd.i386 2.0.33-9.4.el5_1.1 installed
gd-devel.i386 2.0.33-9.4.el5_1.1 installed
gd-progs.i386 2.0.33-9.4.el5_1.1 installed
gdb.i386 6.5-37.el5_2.2 installed
gdbm.i386 1.8.0-26.2.1 installed
gdbm-devel.i386 1.8.0-26.2.1 installed
sysklogd.i386 1.4.1-44.el5 installed
aspell-gd.i386 50:0.50-4.2.2 base
gdk-pixbuf.i386 1:0.22.0-25.el5 base
gdk-pixbuf-devel.i386 1:0.22.0-25.el5 base
gdm.i386 1:2.16.0-46.el5.centos base
libgdiplus.i386 1.2.5-1.el5.centos extras
libgdiplus-devel.i386 1.2.5-1.el5.centos extras
root@server [~]#
View 7 Replies
View Related
Jan 30, 2008
to install VPN on my dedicated server with fedora core 6.
I search on the internet and I found some article.
now I have this question,
I found the rpm in WHM>Software>Install a RPM named openvpn.i386 .
Can I install this rpm from this section?
View 1 Replies
View Related
Mar 30, 2007
my server running freebsd 6.2
i want to installing PHP 5 so my server can run 2 version of PHP (4 and 5)
im following the step here [url]
installing was successful
[root@s1 /usr/local/apache/logs]# /usr/local/cpanel/cgi-sys/php5 -v
PHP 5.2.1 (cgi) (built: Mar 30 2007 17:07:11)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
but when i try to running phpinfo for it, its show me an error
i grep the error from error.log and got this
[Fri Mar 30 17:42:47 2007] [error] [client 202.65.236.10] Premature end of script headers: /home/uletbulu/public_html/info.php
[Fri Mar 30 17:42:47 2007] [error] [client 202.65.236.10] File does not exist: /home/uletbulu/public_html/500.shtml
[Fri Mar 30 17:44:07 2007] [error] [client 202.65.236.10] Premature end of script headers: /usr/local/cpanel/cgi-sys/php5
[Fri Mar 30 17:44:07 2007] [error] [client 202.65.236.10] File does not exist: /home/uletbulu/public_html/500.shtml
but for php 4 there is no problem at all
or the syntax for php 5 not using phpinfo(); anymore?
[url]
[url]
View 0 Replies
View Related
Jan 25, 2007
I've installed PHP, MySQL and Apache on my XP.
I've uncommented some extensions in php.ini and among them:
extension=php_pdf.dll and extension=php_mysqli.dll, but when I start Apache I got the message:
PHP Startup: Unable to load dynamic library 'c:phpextphp_mysqli.dll' - The specified module could not be found
But I have that module in c:phpextphp_mysqli.dll.
View 5 Replies
View Related
Jun 13, 2007
Anyone have tried yum with suse 10.x ? and what its rpm download link?
View 1 Replies
View Related
Apr 29, 2007
Ive just installed PHP on my virtual server and am getting this error message:
PHP Warning: PHP Startup: (null): Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: (null): Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/dom.so' - /usr/lib/php/modules/dom.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning: PHP Startup: ?Mq?gpp?: Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mbstring.so' - /usr/lib/php/modules/mbstring.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: D1q?`?p?: Unable to initialize module
Module compiled with module API=20041030, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/xsl.so' - /usr/lib/php/modules/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0
Does anyone have any ideas what this could be/how it could be fixed? Full phpinfo can be found here: jlwalsh.net/phpinfo.php - if theres any other info I can send let me know.
View 2 Replies
View Related
Oct 14, 2007
Trying to install gd library but not able to..
When i do yum install php-gd it says nothing to do..
Kindly help me.. Its a week i am trying to make it work.. Looks like i have searched the whole net..
View 14 Replies
View Related
Apr 1, 2007
I have Kevin Yank's book, and have followed the instructions (I thought) absolutely correctly.
most of it seems to be fine, but when I open up the very first page created (the "today.php" project!).. it says "module not found"..
take out the <%php bit... and rename it as an asp file (just to be sure my /localhost settings etc were ok) and it works fine. It's clearly a php install error.. Where do I start looking?
I did search on the forum but failed to find any related thread...
View 4 Replies
View Related
Aug 25, 2005
Hi there, I was wondering if anyone have installed ffmpeg-php under windows successfully or you might understand how to do it?
By default it's for linux, but there is a version for win made by some guy/guys to be found here: ffmpeg google groups
Problem is, I don't understand how to install? Could anyone explain, thanks!
Edit: Got it to work!
avcodec.dll (copy to WindowsSystem32)
avformat.dll (copy to WindowsSystem32)
php_ffmpeg.dll (php dir)
Add: extension=php_ffmpeg.dll <- to php.ini
All the other files confused me
View 0 Replies
View Related
Sep 25, 2006
We have a managed VPS, and have never needed on our own dedicated servers in teh past to have FFMPEG due to the line of data we host. So, I asked our provider to please install FFMPEG onto our server.
This is the response I have received:
FFMpeg requires PHP to be compiled as CGI (PHPsuexec) that is only officially supported by cPanel. So in order to install FFMpeg modules we have to resetup your VPS with cPanel.
Now our VPS is running Direct Admin on CentOS.
I am not trying to poke holes at our provider, just trying to find out if this is the truth, or if there is a work around that can accomplish this.
I do not want CPANEL on our account. We have two unix techs here at work, however unfortunately they are both off for two weeks as of middle of last week, so i'm caught with who to look for to gain a second opinion.
View 1 Replies
View Related
Sep 8, 2005
I have installed a Apache server version 1.3.33 on windows XP and would like to enable mod_rewrite so i can rewrite my ugly url´s. How do I install this great feature in Apache so i can test it locally?
Do i just remove # from
#LoadModule rewrite_module modules/mod_rewrite.so
#AddModule mod_rewrite.c
View 2 Replies
View Related
Jan 5, 2008
Are there any circumventors you can install on your website to bypass censorship on public computers?
View 0 Replies
View Related
Mar 29, 2005
How does one install imagemagick?
I have read instructions on imagemagicks site, but don't see how I can upload files, and how to execute the commands that instuctions say to do.
View 2 Replies
View Related
May 4, 2009
I have tried installing GPAC on my centos which has ffmpeg installed allready
l
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[1]: *** [libgpac.so] Error 1
make[1]: Leaving directory `/usr/src/gpac/src'
make: *** [lib] Error 2
-bash-3.2# cat /etc/redhat-release
CentOS release 5.2 (Final)
-bash-3.2#
View 2 Replies
View Related
Jun 24, 2009
I had to reload my VPS cause I got hit with the LX admin exploit (Shocked cause the copy was over a year old)
But I'm not really server savvy, could someone possibly teach me the following.
How to install
apache
ftp
mysql
php
and how to secure the vps so it doesn't get hacked? Also is there any other free control panel to use? I'm really bad in shell, I can do basic stuff and if it's written in plain site I can easily do it. I've seen people here post these two,
ispCP
sysCP
Both look pretty nice, which one would be better do you think?
So if anyone could help me out with this that would be very nice and awesome of you. If I posted in the wrong thread mods please move it.
(I read the secure the VPS thread here already but my IP changes alot, the last 2 sets of numbers change daily)
View 14 Replies
View Related
May 20, 2009
I am new with VPS, i was trying to install LXA on my new VPS after rebuilding it
This is what i typed in SSH
wget [url]
sh kloxo-install-master.sh
It worked out fine initially. It went on installing, updating, downloading and so on..
But finally got stuck at this point
11:02:43 (379 KB/s) - `lxawstats4400.tar.gz' saved [1143518/1143518]
Downloading Installappdata
error reading information on service gpm: No such file or directory
rm -rf /var/lib/mysql
View 3 Replies
View Related
Jan 24, 2007
I've got a customer who would like to have TomCat installed in his hosting account.
I've some question before doing it, it kindda scares me..
1- I have apache 1.3.
2- I don't want every child process of apache to have an additional 15MB..
3- I don't know a lot about Java... Is it as easy as «port install» it in my FreeBSD?
Basically, I would really like to accomodate that customer but I also doesnt want to mess everything for a single customer.
View 3 Replies
View Related
Apr 27, 2009
I am installing dotnetpanel first time on vps.After installing the dotnetpanel Enterprise server when I check by 127.0.0.1:9002 it gives "service unavailable" error.
View 14 Replies
View Related