PHP5, Apache2 & MySQL

I am trying to install PHP5, Apache2 & MySQL5 on my computer so I can do some development/testing using localhost. This is a client machine and not a sever. I downloaded the source files for PHP5 & Apache2 from their official website. I downloaded a packaged installer for MySQL 5. The versions I have are as follows:
PHP - 5.2.2
Apache - 2.2.4
MySQL - 5.0.41
First I installed MySQL from the pacakaged installer, it all worked fine, I have gone to the command line and connected to it, created a table & have mysql administrator so I am confident that it is working 100% correctly.
Next I installed Apache from the source. I followed the instructions on http://www.phpmac.com/articles.php?view=252 I have started up the localhost and have connected to the webserver on my local machine, have gone to http://localhost.... and loaded up a page that I put into the Sites so I am confident that it working 100% correctly.
PHP is where I ran into issues. I compiled it from the source code downloaded from the official php website. I used the instructions on the website listed before, I used the following configuration settings.
./configure \
--prefix=/apache2/php \
--with-zlib \
--with-xml \
--with-ldap=/usr \
--enable-cli \
--with-zlib-dir=/usr \
--enable-exif \
--enable-ftp \
--enable-mbstring \
--enable-mbregex \
--enable-dbx \
--enable-sockets \
--with-iodbc=/usr \
--with-curl=/usr \
--with-mysql=/usr/local/mysql \
--with-apxs2=/apache2/bin/apxs
I ran sudo make and it all seemed to create the makefile correctly. I ran sudo make install and I enconted an error, I can't remeber it exactly but it was saying something about the mysql image file or something.
I then restarted the computer and recompiled the source file using the same instructions on that website except for the line: --with-mysql=/usr/local/mysql \ and it compiled correctly, I ran sudo make install and it installed PHP5 correctly. I made a phpinfo file and put it in the sites folder and it works fine. I made some configuration changes in the php.ini file so I would prefer not to recompile it all from scratch again. I've done it twice so far and it took a few hours.
So my question is: Is there somewhere that I can get the just mysql library modules for php or is there a problem with how I did the source compile that could have caused the issues?
I just need some help getting this final part of it working. If anyone can help I would be very appreciative

What version of Apache are you in fact running? Because if you are using the "Web Sharing" preference panel button to start Apache then you are running Apache 1.3.3, because that button launches the file at
/usr/sbin/httpd
To properly integrate your new Apache into OSX, you need to take these steps:
Delete or rename the old Apache executable:
sudo mv /usr/sbin/httpd /usr/sbin/httpd_old
If you use the Sharing Preference Pane at this point, it will actually start Apache2, but it won't come back from grey because it's looking for the PID (Process ID) file to acknowledge the start. So create a link from the new httpd executable to the old location:
sudo ln -s /path/to/new/httpd /usr/sbin/httpd
I don't know where you installed Apache2 so you will have to fill in your own path. Alternatively, you can copy the file rather than symlink it.
This arrangement allows you to run the old Apache from the Terminal, but the sharing prefpanel launches the new Apache.
Now change the httpd.conf to create it's PID file in the right location. Open up
/path/to/Apache2/httpd.conf
and look for the line:
PidFile logs/httpd.pid
Change the line to:
PidFile /private/var/run/httpd.pid
Now Apache2 will know where its process number is located. Use the Sharing Preference Pane and click on "Personal Web Sharing". Apache2 should start up so test it by asking for a bogus page:
http://127.0.0.1/bogus
The error page should say you are running Apache2.
That may solve your PHP problems.

Similar Messages

  • Can't successfully get Apache2, Mysql adn PHP5 installed preoperly.

    Hello All,
    For the past month I have been trying to get a webserver up and running on my Solaris 10 server. I want to use Joomla to design and impliment the webpage and I know I need Apache2, Mysql and php5. It seems as if it would be fairly simple ut for some reason I can get apache2 running and MySQL, however, when I try to finish it off with PHP5 I cant get it to work. I can install it successfully with a package install. when that didnt work I read to attempt compiling and installing from source. This fails during the compile. I have tried a few suggestion and procedures all of which have failed. Does anyone know of a work around or a good working procedure for successfully installing this software on a Solaris platform?? Thanks in advance.

    I would persevere with PHP packages, posting any issues you find.

  • PHP5 and MySQL 5 Compatibility

    I host my websites on a reseller account for a webhost that is about to upgrade their server technology to PHP5 and MySQL 5. Both PHP and MySQL is now at version 4."something." :-) My question is this, I have websites that were built using MX Kollection Pro 3.7.1 and ADDT 1.0. Has anyone came across any compatibility issues with using PHP5 and MySQL 5. At this point, I don't think I will have issues using PHP5 - but not sure. But the MySQL 5 is uncharted territory for me.
    I really don't want to have a website that will not function properly due to the upgrade. I hope someone has come across using those technologies, so let me know if you have had any problems. I exclusively use ADDT for my new websites. MX Kollection is for managing my older websites. I only use the PHP/MySQL combination for my websites.
    Also, to write my database tables, I use PhpMyAdmin to create the tables. It is easy for me to login to my hosting account and use that program to write my tables. I then used Kollection or ADDT to write the scripts as far joining tables and stuff like that.

    Thank you! I have sites hosted on two different accounts. Most on a multi account that allows me to host other domains and a "real" reseller account. Once the reseller account makes the change and everything still looks right, I will then cancel my multi account but not before migrating everything to the reseller account. I was scared that my websites would not work and was at a standstill on what I should do next. Thanks for the info!

  • Apache2/php5.2/mysql for Drupal

    Hello,
    there is a little bit here and there about the topics in the subject but it seems that that triplet is enough important to deserve special attention in its own topic.
    Basic questions:
    I am assuming that everything can practically be done using the command line. Am I wrong?
    How do I get rid of the original apache2 (or any other application) installation? What is the directory structure of a "Mac" and why is it not posted somewhere on the Apple's website?
    Does anybody know why the GD image module is not available in the php that comes out the Apple Mac pro Box? What is the rational part of it?
    Specific questions:
    How do I install apache2? Is this enough?
    extract it somewhere (/usr/local/src/)
    then:
    sudo ./configure --enable-layout=Darwin --enable-mods-shared=all
    sudo make
    sudo make install
    Is the Darwin layout suppose to rewrite the "house" settings? I does not seem like it!
    How do I install mysql? Is this correct?
    Install the binaries from mysql.com and then
    Install mysql libraries for php
    http://support.apple.com/kb/TA25017
    How do I remove the original php?
    Should php-5.2.6 have GD support already installed?
    I hope that somebody out there knows this stuff because apple is giving me too much trouble.
    Thanks a lot
    Daniele

    leopard server is a lot more secure and easier to manage a large group, if that's what it is for.
    I don't exactly know what you are trying to accomplish, but if it is going to see any serious
    server usage to a bunch of students and the internet, then Leo server would be the logical
    choice. If its just for a temporary small project, then that may be a different story.
    As cheap as hosting is right now, if it is a temporary project. just host it somewhere.
    Kj

  • Compile Apache2, PHP5 and mysql 4.1 with altered settings

    Hi Fellow mac users!
    I would liek to install those environments on my new MBP 17", like I used to be with my own written compile scripts on my linux boxes. Is this possible?
    If some are there some issues I must be aware of? Found nothing relevant from my friend Google, only bumped to the MAMP installations. Any help would be appreciated and feedback will alse be provide from my side just to provide info to others.
    TIA
    RoZeeL

    The hardest part is getting the software to install on top of the Apple versions instead of some default install location like /usr/local. Your best bet is to download the packages from Apple at:http://developer.apple.com/opensource/index.html
    In theory, when you build and install these packages, they should get squirrelled into the correct locations.
    You might also want to look at MAMP: http://www.mamp.info/

  • PHP5 With MySQL Pre-compile Configuration Error

    I have been attempting to compile PHP5 in order to get GD support for a Drupal website. The configuration runs fine until it gets to the MySQL configuration. It fails when checking "lmysqlclient" however the file appears to be found but it is of the wrong archetecture. I am using the MySQL.com binary for MySQL. The conf.log file for PHP is as follows:
    -----START CONF.LOG-----
    any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char mysql_close();
    int main() {
    mysql_close()
    ; return 0; }
    configure:59851: checking for mysql_error in -lmysqlclient
    configure:59870: gcc -o conftest -I/usr/include -g -O2 -no-cpp-precomp -Wl,-rpath,/usr/local/mysql/lib -L/usr/local/mysql/lib -liconv -L/usr/lib -Wl,-rpath,/sw/lib -L/sw/lib -Wl,-rpath,/usr -L/usr conftest.c -lmysqlclient -lz -lldap -llber -liconv -liconv -lgd -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lm -lxml2 -lz -licucore -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lssl -lcrypto -lz -lxml2 -lz -licucore -lm 1>&5
    ld warning: in /usr/local/mysql/lib/libmysqlclient.dylib, file is not of required architecture
    Undefined symbols:
    "mysqlerror", referenced from:
    _main in ccaK6P1K.o
    ld: symbol(s) not found
    collect2: ld returned 1 exit status
    configure: failed program was:
    #line 59859 "configure"
    #include "confdefs.h"
    /* Override any gcc2 internal prototype to avoid an error. */
    /* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply. */
    char mysql_error();
    int main() {
    mysql_error()
    ; return 0; }
    -----END CONF.LOG-----

    MasterStarman wrote:
    Sorry I haven't replied. Here is the output of the command you told me to run:
    /usr/local/mysql/lib/libmysqlclient.dylib: Mach-O 64-bit dynamically linked shared library x86_64
    OK. Now do that again on all of the libraries that you are linking with in that configure step. One (or more) of them is going to be i386. Download the source for those libraries, install them into /usr/local, and re-do your configure.
    EDIT: I have looked through other threads about PHP and GD, it seems like I'm not the only one who wishes Apple would have included a very common library with the Mac. I sincerely hope they include better options in 10.6.
    I agree. I will say this for the Linux community - they are much handier at compiling their own code. Mac people tend to look for an easy way out and often get stuck because of it.
    I also have boiled it down to probably recompiling MySQL however this of course presents problems with the Leopard server as MySQL is a little more integrated.
    That is unlikely to help. You have an entire system - Apache, PHP, MySQL that all need to link together. You can't fix just one. (Actually you can, but people prefer to use the optimized versions with Apache). You must do them all the same way and correctly. You don't have to replace anything that Apple has done. You could install your own pre-build software using MAMP. You could build it all yourself and install in /usr/local. Unfortunately, the answer most people pick is "try to fix the system install". That is possible, but it has to be done correctly and requires that you know how to do such things.

  • PHP5 + Apache2 + Oracle9

    Hello, I use this combination, and I can't connect to the Oracle database.
    the error message is:
    ocilogon() [function.ocilogon]: ociopen_server: ORA-12640
    the connection string is correct, I can connet with any other tools to this DB....
    any tips or idea?
    have nice day

    Yes, and it's work properly....
    I can connect with all of my applications to this DB... but with PHP... ;-(

  • Multiple ethernet network adaptors + MySQL/php5: configuration help needed

    I would be grateful if someone could give me some advice on how to configure multiple ethernet adapters under OS X 10.5.6
    I have set up my system to work nicely with two ethernet network adapters, each with its own fixed IP. This bit works just fine. The machine supports two separate servers - a mail server and the OS X Apache2 server. I have configured the mail server to only listen to one of the IPs, and the Apache2 server to listen to the other (via httpd.conf). The system also has MySQL and php5 installed / enabled, and these services are only used by the Apache2 server.
    The problem I have is that when I start the machine, initially the php5 system cannot connect reliably to the MySQL database system. The fix I have found is to temporarily make the ethernet adapter connected to the mail server 'inactive'. While this is so, the php5/MySQL connection to Apache2 works. Curiously, once an initial connection between php5 and MySQL has been made, subsequently I can make the mail server's ethernet adapter active again without further problems.
    I initially thought this might be due to 'service order' issues - but changing the service order (e.g. putting the Apache adapter 'above' the mail adapter in the service order does not help. The fix only works by making the mail adapter inactive temporarily.
    I suspect that there is some configuration change I can make to clarify the setup I have. The MySQL and Apache installations only need to talk to the Apache server - but I am not sure how to record this configuration in the OS X system.
    Thanks in advance for any assistance that you can provide.
    Message was edited by: Gavin Lawrie

    Hi Stepehen,
    Did the configuration as per your advice  but i am getting the below mentioned error which i have highlighted it in red. Please advice what needs to be done.
    Home
    Re: 1941W configuration help needed
    created by Stephen Rodriguez in Getting     Started with Wireless - View the full discussion
    conf t
    interface     Dot11Radio0
    no ssid     Cisco_Kamran_BGN
    no encryption mode     ciphers aes-ccm
    exit
    interface     Dot11Radio1
    no encryption mode     ciphers aes-ccm
    no ssid     Cisco_Kamran_A
    exit
    dot11 ssid     Cisco_Kamran_A
    vlan 10
    dot11 ssid     Cisco_Kamran_BGN
    vlan 11
    exit
    interface     Dot11Radio0
    encryption vlan 11     mode ciphers aes
    ssid     Cisco_Kamran_BGN
    exit
    interface     dot11radio0.1
    encapsulation     dot1q 1 native
    bridge-group 1
    interface     dot11radio 0.11
    encapsulation     dot1q 11
    bridge-group 11
    Configuration of     subinterfaces and main interface
    within the same bridge     group is not permitted
    exit
    interface     Dot11Radio1
    encryption vlan 10     mode ciphers aes-ccm
    ssid     Cisco_Kamran_A
    interface     dot11radio1.1
    encapsulation     dot1q 1 native
    bridge-group 1
    interface     dot11radio1.10
    encapuslation     dot1q 10
    bridge-group 10
    Configuration of subinterfaces and main     interface
    within the same bridge     group is not permitted
    end
    wr
    Reply to this message by going to Home
    Start a new discussion in Getting Started with Wireless at Home

  • PHP/Mysql issue

    I use Dreamweaver CS3 to create my sites on a Windows/Apache
    Server with PHP5 and Mysql 5. The site works perfectly on my
    testing server at home. On the Web server I'm getting the following
    error which causes the page to not load:
    PHP Warning: mysql_query(): supplied argument is not a valid
    MySQL-Link resource in
    /hermes/bosweb/web248/b2488/ipw.horsehelp/public_html/residents/residents.php
    on line 63
    PHP Warning: mysql_select_db(): supplied argument is not a
    valid MySQL-Link resource in
    /hermes/bosweb/web248/b2488/ipw.horsehelp/public_html/residents/residents.php
    on line 61
    The lines in question are:
    Line 61 - mysql_select_db($database_conn_phh, $conn_phh);
    $query_getSuccess = "SELECT * FROM horses WHERE status =
    'Success Story' ORDER BY horse_barn ASC";
    $getSuccess = mysql_query($query_getSuccess, $conn_phh) or
    die(mysql_error());
    $row_getSuccess = mysql_fetch_assoc($getSuccess);
    $totalRows_getSuccess = mysql_num_rows($getSuccess);
    All of the code is supplied by Dreamweaver. I did not tweak
    the code. I'm not a web developer and what I have found out there
    is still reading greek to me. My connection file is working and
    connecting the database that I have tested.
    Since the above code is throughout the site in one form or
    another it's causing me major headaches. Any help would be
    appreciated.

    This is the first time I've used Adobe products so if the
    following is in the wrong forum (It's the closest one I found so
    far) or the format is incorrect please forgive me.
    I'm new to Dreamweaver CS3 and as I was reading the "first
    steps" it mentions to set up a Dreamweaver site right away. I got
    as far as completing "Site Definition" page under the basic side of
    the setup screen.
    The next screen is "Do you want to work with server
    Technology?"
    There are 2 options - Yes or No. If you select yes a
    drop-down menu appears with several options (but you can only
    select one)...
    Asp Javascript
    Asp VbScript
    Asp.net#
    Asp.net Vb
    Cold Fusion
    JSP
    Php MySql.
    I know nothing about these format and brand new to web design
    so I thought it best to contact GoDaddy (my hosting account) to
    find out what their servers would support. I spoke to a tech rep
    but she wasn't sure.
    She did mention that I have a windows hosting account and Php
    MySql would not work unless I changed to their Linux platform at no
    additional charge.
    The site I have in mind will design with CSS, Liquid layout,
    have some flash, widgets, an inquiry form that clients complete and
    results e-mailed to me, auto-responder, Paypal link and whatever
    else I can discover from Dreamweaver.
    My question being:
    I haven't even begun designing my site because I do not know
    what weather I should select the Yes option and select one of the
    formats mentioned above (if so which one) - or select the No
    option. If I do select the No option at the very beginning, will I
    have problems with my site uploading and working correctly?
    Thank you
    Travis

  • Apache2 failover in Solaris 10:possible?

    Hi,
    I've been handed a pointy-haired boss type task here.
    How do I take two close to identical Apache2 SAMP (Solaris 10, Apache2, Mysql 5, PHP 5, set up per the BigAdmin SAMP article) to act as one?
    I was able to get the MySQL databases on the two machines to syncronize automatically (via the clustering options in the my.cnf file), and I can sync the web root file systems automatically using rsync, so the two machines are esentially serving up the same pages.
    However, they are serving up https documents, and if the dns records are changed when one machine loses it's heartbeat, well, the certificate on the other machine is different (different DNS names were registered to each certificate) from the first machine, and then a client web browser obviously complains at that point...(and for good reason!).
    Would the situation be any different if I were to rescind one certificate from our certificate provider, and then get a second certificate corresponding to the same domain name as the first? Would most certificate vendors even allow you to do this?
    Is there a better way to set up this cluster? I checked into Sun Cluster 3.2, but it seems like overkill for this situation, and we don't have network attached storage like Sun recommends in their configuration documents for Sun Cluster. I don't have the budget to throw the big guns, hardware wise, at this one (unfortunately).
    Didn't realize that a failover cluster was part of the original specs, but now we have a real world client demanding this... :(
    Thanks!

    You will need to have a single SSL Certificate for both servers then set up a load balancer,
    either using DNS round robin or with a hardware/software LB.
    If you need to keep both web services available - you can set up virtual hosts with the appropriate certificates.
    FYI - the Certificates are tied to the calling web Url "http://www.xxx.yyy" and not the host ID. so you can used the same certificate on any number of hosts.
    There are tools available to keep the htdocs in sync such as rdiff-backup

  • SAMP perl dbi mysql

    I have Solaris 10 0606 running with Apache2 mysql and php - all standard. I can access data on mysql thru a simple php script via Apache2. I would like to run a Perl cgi script to access the mysql database, but am having problems. It appears DBI.pm is not available. Does Solaris 10's 0606 full install support the ability to access mysql data via Perl DBI or other mechanism? If so, does anyone have a simple example of how this was done? If it is not supported, and additional Perl modules or other configurations are needed, does any one have a listing of steps to get this working? Thanks!

    This is a bug report I filed with Blastwave.org after attempt to use their DBI::Mysql package.
    perl: fatal: relocation error
    Description      I cant get Solaris 5.10 0606 packaged version of perl and Mysql to connect using Blastwave added module pm_dbi and pm_dbdmysql. Fails with -- ld.so.1: perl: fatal: relocation error: file /opt/csw/lib/perl/csw/auto/DBI/DBI.so: symbol Perl_Gthr_key_ptr: referenced symbol not found
    Additional Information      SunOS sol10 5.10 Generic_118855-15 i86pc i386 i86pc
    This is perl, v5.8.4 built for i86pc-solaris-64int
    (with 28 registered patches, see perl -V for more detail)
    mysql Ver 12.22 Distrib 4.0.24, for pc-solaris2.10 (i386)
    smupdate 07-25-2006
    $dsn = "DBI:mysql:database=$database;host=$hostname;port=$port";
    Supporting information:
    http://woss.name/2006/05/21/installing-dbimysql-on-solaris-10/
    http://forum.sun.com/jive/thread.jspa?threadID=96067&messageID=331249
    And the bug report response:
    http://www.blastwave.org/mantis/view_bug_page.php?f_id=0001674
    This is not a bug in CSWpmdbi. All blastwave perl modules are built to use CSWperl. CSWpmdbi is also built to work with CSWmysql4.
    I recommend that you use the blastwave packages and not the Sun supplied packages. Many sites use the blastwave packages and they can use any other blastwave package that needs perl and mysql. The same is true for perl and postgresql.
    Or, if you believe that you must use the Sun supplied perl and mysql, you should be able to build and install DBI. You will need to download Studio 11. Studio 11 is available at no cost to you.

  • Updating to 10.4.11 killed my PHP/MYSQL connections

    Hi all - I use Dreamweaver CS3 for web development, and have been using some very simple PHP/MYSQL Select and Inserts. Everything was working fabulously up until this morning, when I updated to 10.4.11 (Macbook Pro, CoreDuo). As soon as I updated, I get a 'No Database Selected' message in Safari, Firefox and IE. I can see the database and work with it in DWeaver, just can't get it to go live in browsers.
    I'm running PHP 5.2.4, MYSQL 5.1.8 and whatever version of Apache is bundled in OS X (I think it's 1.x - but can't find how to get that number!)
    Just for record, I have stopped/restarted Personal Web Sharing, Personal File Sharing, OS X, MYSQL to just check whether something wasn't working there.
    I'm about to close out, zap the PRAM and then come back in.
    Any ideas?
    Vince

    Thanks - A couple of additional points. This is OS X 10.4.11, not OS X Server, so I had installed MYSQL and PHP as fresh installations. MYSQL has not changed since I installed and is running fine through direct client (Navicat).
    For PHP I was running 4 and it had been running fine. When the update to OSX came through, PHP 4 didn't work - no change had been made to any configuration file that was working already. These are the httpd.conf instructions I had followed to set-up PHP 4:
    +1 Launch Terminal from /Applications/Utilities.+
    +2 Open the Apache configuration file and edit the UNIX shell prompt:+
    +sudo pico /etc/httpd/httpd.conf+
    +3 When prompted for a password, enter the Mac OS X administrator account password.+
    +4 Uncomment the following lines:+
    +LoadModule php4_module libexec/httpd/libphp4.so+
    +AddModule mod_php4.c+
    +5 Add the following lines (add these lines above: AddType application/x-tar .tgz):+
    +AddType application/x-httpd-php .php+
    +AddType application/x-httpd-php-source .phps+
    +Note: All the commands for the pico editor display on the screen and you can start any commands with the Control key. Use the arrow keys to move around. Pico is a text editor, mostly for UNIX users to use at the UNIX command line. The pico text editor resides in /usr/bin/ directory.+
    +6 Add a new index page for PHP (index.php) so that the web server will recognize it as the first page to load:+
    +<IfModule mod_dir.c>+
    +DirectoryIndex index.html index.php index.htm+
    </IfModule>
    +7 Save the httpd.conf file by pressing ^X (control & x keys). When the screen asks "Save Modified buffer?", press "Y". When prompted for "File Name to write : httpd.conf", press Return once to accept it. This will return you to the UNIX shell prompt.+
    When PHP 4 stopped working, I took the decision to upgrade to 5 and then fix the breakdown (by now, I was convinced it was an Apache change (nothing in config had changed at all). So, upgraded to PHP 5 and, to do so, had to reverse the directions above. Since then, I've tried reenabling the above, replacing with PHP5 wherever PHP4 appears, all to no avail (in fact, it just froze the Personal Web Sharing that turns Apache on/off).
    Right now, running the phpinfo check detailed above tells me the PHP 5 is successfully installed and running. The text from the test copied here:
    +System Darwin Vincet-MacBook-Pro.local 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386+
    +_Build Date_ Aug 31 2007 23:38:11+
    +_Configure Command_ './configure' '--prefix=/usr/local/php5' '--with-apxs' '--with-config-file-scan-dir=/usr/local/php5/php.d' '--with-iconv' '--with-openssl=/usr' '--with-zlib=/usr' '--with-gd' '--with-zlib-dir=/usr' '--with-ldap' '--with-xmlrpc' '--with-iconv-dir=/usr' '--with-snmp=/usr' '--enable-exif' '--enable-wddx' '--enable-soap' '--enable-sqlite-utf8' '--enable-ftp' '--enable-sockets' '--enable-dbx' '--enable-dbase' '--enable-mbstring' '--enable-calendar' '--enable-bcmath' '--with-bz2=/usr' '--enable-fastcgi' '--enable-cgi' '--enable-memory-limit' '--enable-zip' '--enable-pcntl' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-curl=shared,/usr/local/php5' '--with-mysql=shared,/usr/local/php5' '--with-mysqli=shared,/usr/local/php5/bin/mysql_config' '--with-pdo-mysql=shared,/usr/local/php5' '--with-libxml-dir=shared,/usr/local/php5' '--with-xsl=shared,/usr/local/php5' '--with-pdflib=shared,/usr/local/php5' '--with-imap=../imap-2004g' '--with-kerberos=/usr' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr/local/php5' '--with-png-dir=/usr/local/php5' '--enable-gd-native-ttf' '--with-freetype-dir=/usr/local/php5' '--with-iodbc=shared,/usr' '--with-pgsql=shared,/usr/local/php5' '--with-pdo-pgsql=shared,/usr/local/php5' '--with-t1lib=/usr/local/php5' '--with-gettext=shared,/usr/local/php5' '--with-ming=shared,/usr/local/php5' '--with-mcrypt=shared,/usr/local/php5' '--with-mhash=shared,/usr/local/php5' '--with-mssql=shared,/usr/local/php5' '--with-fbsql=shared,/Users/liyanage/svn/entropy/universalbuild/src/FBDeveloper Libraries/Library/FrontBase' '--with-json=shared' '--enable-memcache' '--enable-openbase_module'+
    +_Server AP_I Apache+
    +_Virtual Directory Suppor_t disabled+
    +_Configuration File (php.ini) Path_ /usr/local/php5/lib+
    +_Loaded Configuration File_ /usr/local/php5/lib/php.ini+
    +_Scan this dir for additional .ini files_ /usr/local/php5/php.d+
    +_additional .ini files parsed_ /usr/local/php5/php.d/10-extension_dir.ini, /usr/local/php5/php.d/50-extension-curl.ini, /usr/local/php5/php.d/50-extension-fbsql.ini, /usr/local/php5/php.d/50-extension-gettext.ini, /usr/local/php5/php.d/50-extension-json.ini, /usr/local/php5/php.d/50-extension-mcrypt.ini, /usr/local/php5/php.d/50-extension-mhash.ini, /usr/local/php5/php.d/50-extension-ming.ini, /usr/local/php5/php.d/50-extension-mssql.ini, /usr/local/php5/php.d/50-extension-mysql.ini, /usr/local/php5/php.d/50-extension-mysqli.ini, /usr/local/php5/php.d/50-extension-odbc.ini, /usr/local/php5/php.d/50-extension-pdf.ini, /usr/local/php5/php.d/50-extension-pdo_mysql.ini, /usr/local/php5/php.d/50-extension-pdo_pgsql.ini, /usr/local/php5/php.d/50-extension-pgsql.ini, /usr/local/php5/php.d/50-extension-xsl.ini+
    +_PHP API_ 20041225+
    +P_HP Extension_ 20060613+
    +_Zend Extension_ 220060519+
    +_Debug Build_ no+
    +_Thread Safety_ disabled+
    +Zend Memory Manager enabled+
    +_IPv6 Support_ enabled+
    +_Registered PHP Streams_ zip, php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps+
    +_Registered Stream Socket Transports_ tcp, udp, unix, udg, ssl, sslv3, sslv2, tls+
    +_Registered Stream Filters_ string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.*+
    I don't know if any of this helps, but it's what I find. From my online troubleshooting and reading, I believe all of the above looks right and that things should work. So, I'm still left with an informed gut decision that something in the set-up of Apache changed (location in file structure, configuration file, etc.) Could it be looking at a second copy of httpd.conf somewhere else? That would seem to make sense - however I haven't managed to turn up how to assess which version of Apache is loaded (I think 1.3) or where it's located.
    If anyone can confirm what PHP5 code should be included in httpd.conf given the above, that would be a great next step.
    Thanks for all your assistance!
    Vince

  • Not playing HLS streaming on Safari (and HDS gets and error)

    I just installed Flash Media Server 4.5 on my apache2.2 server. I am running the default webpage from the program, https://filmthos.com/flash/. I get an error when running the HDS streaming sample Error#2032. The rtmp sample runs fine. I run the HLS on IE and it give the error message that it can only run on Safari, whicvh is fine. BUt when I run this sample on Safari nothing happens. So any suggestion would be helpful to figure out the problem. THank you!

    I had external Apache setup. So, I uninstalled it and reinstalled the FMS with the bundled Apache. It worked fine. The only problem is I don't know how to configure this Apache with php5, pear, mysql etc. Things I had already configure with the external Apache. So I reverse all that I did. But you mention I would have to configured my enternal Apache to FMS correctly. What or where can I find what has to be configure with my external Apache? Thanks for your help!

  • Php-apache not in repositories

    Hi. I'm following this tutorial: https://wiki.archlinux.org/index.php/LAMP and i need to get "php-apache"... I have installed php5, apache2, and mysql. They are all working. Then I read in the tutorial that I need php-apache. Pacman doesnt find it ! What do i do ? What is it even ? I cant find it anywhere.
    regards
    EDIT: Nevermind, the nex day all of a sudden it finds the correct packages...
    Last edited by sko0 (2011-04-02 14:13:02)

    % pacman -Si php-apache
    Repository : extra
    Name : php-apache
    Version : 5.3.6-1
    URL : http://www.php.net
    Licenses : PHP
    Groups : None
    Provides : None
    Depends On : php apache pcre libxml2
    Optional Deps : None
    Conflicts With : None
    Replaces : None
    Download Size : 1662.10 K
    Installed Size : 8036.00 K
    Packager : Pierre Schmitz <[email protected]>
    Architecture : x86_64
    Build Date : Sat 19 Mar 2011 12:44:22 PM EET
    MD5 Sum : f7f694576f9c48efde405c857e34547b
    Description : Apache SAPI for PHP

  • 10.5.6 update break Apache

    I have my imac at home configured as a small web-server for testing and development purposes.
    I run a bunch of virtual hosts, using PHP,mySQL, Apache2, the extra/httpd-hosts.conf file and the /etc/hosts file.
    This has all been working fine for a while now, but after the recent software updates it has broken my apache set up, and I can on longer restart apache.
    Has any one else seen this? and have a fix for it ?
    My Apache / PHP .mySQL set up as exactly as per my blog posts;
    http://sheldon.lendrum.co.nz/virtual-web-hosting-osx-leopard_371/07/
    http://sheldon.lendrum.co.nz/installing-php5-and-mysql-on-mac-osx-leopard_91/26/
    and when I restart apache vis 'apachectl graceful' in terminal ( or any other apachectl command) is get the following error:
    iMac:~ sheldon$ apachectl restart
    launchctl: CFURLWriteDataAndPropertiesToResource(/System/Library/LaunchDaemons/org.apache. httpd.plist) failed: -10
    iMac:~ sheldon$
    The same has happened on both my Mac Book Pro, and my iMac.
    Message was edited by: SheldonLendrum09

    Sheldon,
    It's quite likely that the latest software update is the cause of your problem. Check with the Vendors of your affected 3rd party software to see if they have any patches that have been released to address what you are experiencing.
    Chris

Maybe you are looking for

  • SDM agent is not registered with SDM server of Solution Manager server

    Hi, We are in process of configuring EWA report for JAVA stack of SAP system along with ABAP stack. For ABAP stack the EWA report generation is straight forward and it is working fine. We are facing the problem while configuring EWA report for JAVA s

  • Prepared Statement with ORDER BY

    I am trying to use order by with prepared statement but it is not ordering. String sql = "SELECT * FROM MATERIAL WHERE (LOWER(NAMEE) LIKE ('%' || ? || '%') ORDER BY ? "; PreparedStatement ps=CM.getStatement(sql); ps.setString(1,p); ps.setString(2,sor

  • Print preview ok but a field missing in print out

    Hi Experts,     Recently we did an upgrade from 4.6C to ECC5.0 . We are facing a strange problem, one particular field ( along with value ) is not appearing in the print out from a particular printer . Everything comes fine in the print preview and t

  • Display 16 bit channel images using AGAL3

    I am trying to display dicom images (medical images) which usually have 16 bit  R, 16 bit G and 16 B image channel (for gray scale R=G=B) I have read that Context3DTextureFormat.RGBA_HALF_FLOAT can be used to represent the 16 bits per channel but I h

  • I changed my password for yahoo and how do I reprogram it in message on my iphone?

    I changed password on my yahoo account. Therefore when I am using "message" on my iphone it says something like "impossible to connect to the server" Which is right since  changed my yahoo password using my PC. Now, the question is, what do I have to