I was disappointed to discover how difficult it is to set up PHP, MySQL and virtual hosts on my MacBook Pro. I finally hired a computer science student to do it for me - but even he screwed it up.
Then I discovered a preconfigured packaged called MAMP. I downloaded the free version and now have Apache, PHP, MySQL and phpMyAdmin up and running. That still leaves the biggest obstacle of all - creating virtual hosts.
I checked out the MAMP Pro version ($50) at [url]and read "You can set up many virtual hosts."
That doesn't make sense to me; shouldn't you be able to set up many virtual hosts even with the free version of MAMP? Or does MAMP somehow make it EASIER to create virtual hosts, and the Pro version simply allows you to make many of these simplified virtual hosts? If MAMP Pro does indeed make it easy to create virtual hosts, then I'll purchase it immediately.
I'd be interested in other comments about MAMP. Unfortunately, its support forums are awfully lame; that's why I decided to post my questions here.
I can't get MAMP to work. I sadly uninstalled and AppZapped MAMP and reinstalled it. Now I can't get WordPress to install. I can make a DB on PHP MyAdmin but I get "not found" when I try the WordPress install. I can't get the PHP info? line to work either. How do you troubleshoot MAMP?
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.
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 [~]#
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?
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.
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...
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.
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?
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)
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.
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.
I successfully installed eAccelerator and its already working fine then I decided to update my PHP version which is 5.1.6 to 5.2.6 after the upgrade eAccelerator is no longer loaded I tried recompiling eAccelerator but to no avail it doesnt load anymore I double checked eaccelerator.ini and it was already set. Someone said that the phpize that was installed in my server is not compatible to PHP5.2.6 and it needs to be updated also but I cant seem to update it since it always says that it is already updated.
I recently installed ubuntu 7.10, and apache2. Both installed with no problems. In my browser i am able to type localhost, and i recieve the "It works" page. I can also start,stop and restart with no problems. However, I cannot install php5. I use synaptic package manager to install, and i added the appropriate lines to the httpd.conf file but i still cannot view .php files. I try to run a simple php page and a dialog box pops up prompting me to open or save the file. If i choose either, the box just pops up again.
I've got some problems with qmailtoaster in an openvz vps and centos 5.2.
At the "perl step" (wiki.qmailtoaster.com/index.php?title=CentOS_5_QmailToaster_Install) I get a lot of errors about dependency that cpan tries to resolve but it fail.
Here it is the last part when it basically quit...
Can't test without successful make Running make install make had returned bad status, install seems impossible Running make for P/PM/PMQS/Compress-Zlib-2.011.tar.gz Is already unwrapped into directory /root/.cpan/build/Compress-Zlib-2.011
CPAN.pm: Going to build P/PM/PMQS/Compress-Zlib-2.011.tar.gz
-- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Running make for T/TO/TOMHUGHES/IO-Zlib-1.09.tar.gz Is already unwrapped into directory /root/.cpan/build/IO-Zlib-1.09
CPAN.pm: Going to build T/TO/TOMHUGHES/IO-Zlib-1.09.tar.gz
-- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Running make for K/KA/KANE/Archive-Tar-1.38.tar.gz Is already unwrapped into directory /root/.cpan/build/Archive-Tar-1.38
CPAN.pm: Going to build K/KA/KANE/Archive-Tar-1.38.tar.gz
-- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible #