Apache 2.20 & PHP 5.1.2

I'm sure there was a Darwin section once-upon-a-time but I don't see it so am posting here for advice. I want to install Apache 2.2.0 and PHP 5.1.2 but need advice as I want to keep separate from Apple's shipping versions?

Welcome to Apple Discussions!
The forum you are probably looking for is the Unix forum:
http://discussions.apple.com/forum.jspa?forumID=735
The only way I would keep it separate from Apple's shipping version is to have two boot systems each on their own partition that you can toggle between.

Similar Messages

  • Apache, MySQL, and PHP

    I am new PHP development and working on a test project. I've installed Apache, MySQL and PHP on my Windows XP box and now I'm a little confused. I created a database and some sample code to retrieve data. Now, on a server I'm using which supports this how do I upload this to the server for use?
    I hope this makes sense. Is there a built-in app for that or do I upload my created db to the server.
    UPDATE: I forgot to add that I am working locally and now would like to port this over to my domain and server. My host uses a linux box with apache.
    Thanks in advance,
    mdawg

    Hi,
    Download the mysql admin gui from here : http://dev.mysql.com/downloads/gui-tools/5.0.html
    If your host server allows connections from other hosts you can use the mysql gui to connect to the local database as well as the host database and export the tables to your new database on the host. This is the way I prefer to do it... but some hosts only allow SQL connections from the localhost itself which basically means you won't be able to connect to it using the mysql gui tools.
    However you can still generate the database scripts from the gui tools and login to your hosts mysql manager - possibly phpMyAdmin and then simply execute the SQL script.
    Hope this helps,
    Brendan

  • Apache, ssl, and php problem

    i just added ssl support to my apache website running php. before i added ssl i had a php flash script that has always worked fine until i altered the httpd.conf file to forbid access to this directory unless it was an encrypted connection. i used the code
    <Directory "/home/httpd/html/folder">
        AuthType Basic
        AuthName "user"
        AuthUserFile /home/httpd/passwords/folder
        Require user user
        SSLRequireSSL
    </Directory>
    i tested the ssl with the directory running php before i altered the code and it worked fine. now that i altered the code to require ssl, the folder's index shows up a blank page. what went wrong, is there some bug or something i did wrong?

    steps to use ssl in arch with apache.
    1) pacman -S openssl apache
    2) Read /etc/httpd/conf/mod_ssl.txt
    2a) Edit /etc/conf.d/httpd and set HTTPD_USE_SSL to "yes"
    2b) Create an ssl key, request, and certificate.
    # This generates the cert and key (valid for 3650 days)
      # Be sure to enter the FQDN of your apache server as the "Common Name".
      openssl req -new -x509 -newkey rsa:1024 -days 3650
        -keyout server.key -out server.crt
      # This will remove the passphrase
      openssl rsa -in server.key -out server.key
    2c) Modify /etc/httpd/conf/ssl.conf to use your new certificate.
    SSLCertificateFile /etc/httpd/conf/server.crt
    SSLCertificateKeyFile /etc/httpd/conf/server.key
    3) Edit /etc/httpd/conf/ssl.conf
    Define an appropriate virtualhost for your ssl site
    4) Restart apache (/etc/rc.d/httpd restart)
    If it hangs or fails to start, check the /var/log/httpd/error_log or try running
    '/usr/sbin/apachectl startssl' and looking for errors/prompts.
    NOTE: Using the same dir for ssl and non-ssl does not make sense, as someone could just use non-ssl to access the same information. Instead, create a new directory (something like /home/httpd/ssl), and use that dir for ssl web activities. Adjust /etc/httpd/conf/ssl.conf accordingly

  • Impossible to send an email with Mac OS X, apache 1.3, php and sendmail

    I want to use my MacMini as Web Werver and I want to send an email using php by the mail() function. But it doesn't work. What must I do ?
    Please help me !

    Here is procedure to do working an email (in french) :
    Email envoyé par la fonction mail() de php sous Mac OS X avec votre serveur web perso sous apache.
    Si vous n'arrivez pas à envoyer un email par php à un destinataire, il peut y avoir au moins deux raisons :
    - une erreur dans le codage de la fonction mail( ) (voir pour cela : http://fr.php.net/manual/fr/function.mail.php)
    - un problème dans l'utilisation par php de sendmail (expliqué dans http://fr.php.net/manual/fr/ref.mail.php). Et comme la doc n'est pas explicite, vous allez ici comprendre ce qu'il faut faire. Deux jours de travail pour en arriver là à un ignorant du programme Terminal de Mac OS X, de sudo, et tout le reste... !
    Pour que cela fonctionne il faut modifier deux fichiers :
    Pour cela, sauvegardez d'abord le fichier /etc/postfix/main.cf en en faisant une copie. Pour cela, vous pouvez faire :
    sudo pico /etc/postfix/main.cf
    puis mettre un espace n'importe où où cela est possible, puis CTRL X, ajoutez un caractère ou deux au nom du fichier, puis Y.
    Pour modifier ensuite le premier fichier, faites à nouveau :
    sudo pico /etc/postfix/main.cf
    et ajoutez la ligne :
    myhostname = nomdedomainevalide.com
    à mettre après :
    # INTERNET HOST AND DOMAIN NAMES
    # The myhostname parameter specifies the internet hostname of this
    # mail system. The default is to use the fully-qualified domain name
    # from gethostname(). $myhostname is used as a default value for many
    # other configuration parameters.
    #myhostname = host.domain.tld
    #myhostname = virtual.domain.tld
    Enregistrez (CTRL X, puis Y)
    Ce nom de domaine que vous devez ajouter doit être valide et ne pas être le même que celui que vous allez mettre dans le deuxième fichier à modifier. Pour cela faites une sauvegarde comme précédemment pour le fichier main.cf, puis tapez à nouveau :
    sudo pico /usr/local/php5/lib/php.ini
    Ajoutez la ligne :
    sendmail_path = /usr/sbin/sendmail -t -i -f adressevalide@nomdedomainevalide
    que vous mettez après :
    [mail function]
    ; For Win32 only.
    SMTP = localhost
    smtp_port = 25
    ; For Win32 only.
    ;sendmail_from = [email protected]
    ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
    Puis enfin, enregistrer (CTRLX, puis Y)
    Je répète qu'il est impératif que le nom de domaine de l'adresse email ne soit pas le même que celui placé dans le premier fichier main.cf. Par ailleurs l'adresse email doit être valide pour être acceptée comme telle par celui qui reçoit votre message. Il vaut mieux que cette adresse soit votre adresse car elle ne sert qu'à vous envoyer des messages d'erreur envoyés par sendmail si jamais il y avait une erreur bien sûr !!! Le programme sendmail étant situé dans le path donné ci-dessus : /usr/sbin.
    Si cela ne fonctionne pas, vous pouvez debugger en faisant :
    sudo pico /var/log/mail.log
    cela vous permet de comprendre ce qui se passe chaque fois que vous envoyez par php un email.
    La procédure indiquée fonctionne avec Mac OS X.4.8, apache 1.3 et php 5.2.0
    Good Luck!

  • Need help getting php working, apache not evaluating php doc.

    Folks, I have been trying for some time to get JetPhoto Server to work on Snow Leopard Server. It was so easy with SL Client.
    In any case I cannot get "<?php phpinfo(); ?>" to be evaluated in Safari and I am not sure why.
    Essentially I am taking it step by step to understand why it's so hard to get things up and running - first making sure things apache and php are playing nice.
    PHP is enabled
    registerlongarrays is on
    engine is on
    All Safari returns is the same php call instead of the config info.
    Please advise.

    Default web page is on a second drive right now now that JetPhoto server is running. Otherwise the default is in the default webserver/documents/ directory. I just have Server Admin settings pointing to the photo server until I can restore the company homepage I used to have.
    output from first command:
    drwxrwxr-x 26 root admin 884 Jul 26 15:37 .
    drwxrwxr-x 7 root admin 238 Apr 26 14:35 ..
    -rw-r--r--@ 1 lpiadmin admin 12292 Jul 26 15:38 .DS_Store
    -rw-rw-r-- 1 root admin 3726 May 18 2009 PoweredByMacOSX.gif
    -rw-rw-r-- 1 root admin 31958 May 18 2009 PoweredByMacOSXLarge.gif
    -rw-rw-r-- 1 root admin 5063 Jul 20 2009 applestylesheetoverrides.css
    -rw-rw-r-- 1 root admin 2636 Jul 20 2009 base_layout.css
    -rw-rw-r-- 1 root admin 3754 Jul 20 2009 error.html
    -rw-rw-r-- 1 root admin 3754 Jul 20 2009 error.html.default
    -rw-rw-r-- 1 root admin 7782 Jul 20 2009 favicon.ico
    -rw-rw-r-- 1 root admin 56 Jul 20 2009 grayline.gif
    -rw-rw-r-- 1 root admin 3811 Jul 20 2009 grayx.jpg
    -rw-rw-r-- 1 root admin 5094 Jul 24 2009 index.html
    -rw-rw-r-- 1 root admin 5094 Jul 24 2009 index.html.default
    -rw-rw-r-- 1 root admin 44 Nov 20 2004 index.html.en
    -rw-rw-r-- 1 root admin 271 Jul 20 2009 info.php
    -rw-rw-r-- 1 root admin 2296 Jul 20 2009 logo.gif
    -rw-rw-r-- 1 root admin 4399 Jul 20 2009 main.css
    -rw-rw-r-- 1 root admin 2028 Jul 20 2009 osxserver.gif
    -rw-rw-r-- 1 root admin 1278 Jul 20 2009 poweredbymacosxserver.gif
    -rw-rw-r-- 1 root admin 454 Jul 20 2009 v5backgroundlink.jpg
    -rw-rw-r-- 1 root admin 435 Jul 20 2009 v5backgroundlinkhover.jpg
    -rw-rw-r-- 1 root admin 1580 Jul 20 2009 v5backgroundmain.jpg
    -rw-rw-r-- 1 root admin 8889 Jul 20 2009 v5backgroundtop.jpg
    drwxrwxr-x 4 root admin 136 Jul 20 2009 weblog
    drwxrwxr-x 5 root admin 170 Apr 26 14:35 webmail
    output from second:
    -rw-r--r-- 1 root wheel 68732 Mar 30 21:34 /etc/php.ini.applesaved
    -r--r--r-- 1 root wheel 68970 Jan 29 18:25 /etc/php.ini.default
    -r--r--r-- 1 root wheel 68727 Mar 16 09:08 /etc/php.ini.server-default
    -rw-r--r--@ 1 lpiadmin staff 68729 Jul 26 12:18 /etc/php.ini.txt

  • Not a real problem anymore, but a weird Apache behavior wrt .php files

    Hello everyone. Yesterday I was trying to set up an ordinary LAMP server in my VPS, running Arch (first time ever touching apache). After all was said and done, and apache and PHP were correctly configured following the Arch Wiki, I tried to get some things like phpmyadmin and ampache running, but I found out that my browser was asking me to download either a login.php file or an index.php file (to be more specific: I added a test.php file in /srv/http and that was interpreted correctly and I could see all the information as intented; if i pointed my browser to /phpmyadmin or /ampache though I would see the first page but after trying to, for example, logging in with phpmyadmin I'd get the download prompt). I googled around and yes, everything was configured as it should have, I had the AddHandler directive in the apache conf file and all that jazz. This morning, I log in, I start apache (since it wasn't working I figured that I might as well shut it down for the night and yes, while testing and setting up things yesterday I restarted the daemon every time) and everything works as it should: ampache lets me create my configuration, phpmyadmin lets me see my DBs and everything works. So, the problem apparently fixed itself, or at least the weird behavior I was witnessing is no more. Is there any specific reason for this? I wouldn't want to start from scratch (and I probably will, since I like to mess up a lot, that's how i learn!) to perhaps find myself in this spot again and not know what to do!
    Last edited by mrz87 (2011-05-11 09:12:21)

    This was a problem with apache-2.2.17-2. Don't worry, it's fixed for good.
    https://bugs.archlinux.org/task/24208

  • Unix apache server: only PHP code can bve malicious?

    I'm working on a site where users can write their own code,
    then the code gets rendered in the page.
    I realize that if they write PHP code, they can do anything.
    So to be safe I should take out
    anything between <? and ?> from the code they post.
    what else? what kind of code can really do damage, on a Unix
    server running Apache?
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

    > Is this going to be a major security risk, no matter how
    I screen the
    > code?
    I would think so, yes, but I'm quite far from a security
    whiz....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "(_seb_)" <[email protected]> wrote in message
    news:ejv316$hcr$[email protected]..
    > Murray *ACE* wrote:
    >> What would be an example of the kind of code they
    *could* write, seb?
    >>
    >
    > example:
    >
    > <object width="425" height="350"><param
    name="movie"
    > value="
    http://www.youtube.com/v/kUsUGaTBChw"></param><param
    name="wmode"
    > value="transparent"></param><embed
    > src="
    http://www.youtube.com/v/kUsUGaTBChw"
    > type="application/x-shockwave-flash" wmode="transparent"
    width="425"
    > height="350"></embed></object>
    >
    > (this is the embed-code for displaying a youtube video
    on any page)
    >
    > other example:
    >
    > <font>Cool, so i can customize this?</font>
    > <h1>WOW</h1>
    > <table height="200%">
    > i'm a bit retarded but that sounds like fun
    > </tr>
    > <table>
    >
    >
    > The code will be rendered in an iframe, so I don't care
    if they write
    > broken html - that's their business. But I should not
    allow javascript,
    > and I'd like to make sure they can't full-around with
    the server (Linux,
    > Apache PHP).
    >
    > Is this going to be a major security risk, no matter how
    I screen the
    > code?
    >
    >
    > --
    > seb ( [email protected])
    >
    http://webtrans1.com | high-end web
    design
    > Downloads: Slide Show, Directory Browser, Mailing List

  • Oracle Database 10.2.0.1 + Apache 2.0.59 + PHP 5.2.0

    Hi all.
    Where can i find the changePerm.sh script for Oracle Database 10.2.0.1?
    I get the error:
    Warning: ocilogon() [function.ocilogon]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that ORACLE_HOME is set and points to the right directory in /usr/local/apache/htdocs/oci8test.php on line 3
    Help me, please!
    Giovanni D'Ascola

    in Apache dir write short file: something.php
    <? phpinfo() ?>
    and access it via browser to see if there is oci defined.
    BTW. when you start apache you should se oracle (oci) variables to get access :-)

  • Oracle 8i + Apache 1.3.9 + PHP 3.0.14

    I have installed oracle 8.1.5 with patch 2 on my redhat 6.1, it seems to work fine ( sqlplus svrmgrl, etc. ). So I recompiled my PHP 3.0.14 to use OCI8. But something must be wrong. When I restarted Apache to load php module, it died immediately. In redhat 6.1, nothing output in error.log, and in mandrake 7.0, it said that "caught SIGTERM". I don't know why, then I had to restart the computer, it worked, but could not use oci functions to connect dbserver ( error code -12545 ). And when I restarted httpd, the same error as above happened. Does anybody encounter this error? Who can help me?

    I've been able to get Apache_1.3.(9|11|12)+PHP-(3.0.1[45]|4.0b4pl1)+Oracle-8.1.5.0.2 to work (OCI8 API calls) but with much difficulty.
    Compiling was pretty straightforward. I used APXS to load the PHP module. However, when I start Apache with the PHP modules loaded and added, Apache would die (no hints, etc.) What I did was start Apache without PHP loaded, reconfigure in PHP once Apache started and THEN restart apache. This works for me. Kinda tedious, though. And the time when Apache is running without support for PHP would allow anyone to see my PHP code with my database password.
    (Incidentally, how should I configure Apache so it doesn't serve files which end in .php[3] unless it was through the PHP module?)
    I've emailed the Apache OCI8 module developers about it (Stig and Thies) so I hope it'll be resolved soon.

  • Compiling Apache 2.2 and php 5.2 from source on Arch

    Hi there
    Wanting to compile Apache 2 with PHP 5 on my Arch server. I figure this must be frequently done by people out there wanting more control over how their servers are setup, and was wondering if anyone had some good documentation for this? If none exists I'm keen to work on putting it up on the Arch Wiki.
    I've compiled apache httpd-2.2.16 from source already, and have it running nicely.
    Apache compile options were:
    ./configure --prefix=/usr/local/apache \
    --enable-rewrite --enable-ssl --enable-so \
    --enable-mime-magic --enable-suexec \
    --enable-static-rotatelogs \
    --disable-imap --disable-userdir --enable-cgi \
    --disable-dav \
    --disable-proxy-connect --disable-proxy-ftp --disable-proxy-http --disable-proxy \
    --disable-authnz-ldap
    $ /usr/local/apache/bin/httpd -Vvv
    Server version: Apache/2.2.16 (Unix)
    Server built: Sep 6 2010 06:10:41
    Server's Module Magic Number: 20051115:24
    Server loaded: APR 1.4.2, APR-Util 1.3.9
    Compiled using: APR 1.4.2, APR-Util 1.3.9
    Architecture: 32-bit
    Server MPM: Prefork
    threaded: no
    forked: yes (variable process count)
    Server compiled with....
    -D APACHE_MPM_DIR="server/mpm/prefork"
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
    -D APR_USE_SYSVSEM_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D DYNAMIC_MODULE_LIMIT=128
    -D HTTPD_ROOT="/usr/local/apache"
    -D SUEXEC_BIN="/usr/local/apache/bin/suexec"
    -D DEFAULT_PIDLOG="logs/httpd.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_LOCKFILE="logs/accept.lock"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="conf/mime.types"
    -D SERVER_CONFIG_FILE="conf/httpd.conf"
    Now installing PHP from source is proving to not work out so easily.
    root@server: ~/source-programs/apache/httpd-2.2.16/php-5.2.14
    $ ./configure with-apxs2=/usr/local/apache/bin/apxs --prefix=/usr/local/apache/php
    configure: warning: with-apxs2=/usr/local/apache/bin/apxs: invalid host type
    loading cache ./config.cache
    checking for Cygwin environment... (cached) no
    checking for mingw32 environment... (cached) no
    checking for egrep... (cached) grep -E
    checking for a sed that does not truncate output... (cached) /bin/sed
    checking host system type... with-apxs2=/usr/local/apache/bin/apxs
    checking target system type... with-apxs2=/usr/local/apache/bin/apxs
    checking for gcc... (cached) gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking how to run the C preprocessor... (cached) gcc -E
    checking for icc... no
    checking for suncc... no
    checking whether gcc and cc understand -c and -o together... (cached) yes
    checking how to run the C preprocessor... gcc -E
    checking for AIX... no
    checking whether ln -s works... (cached) yes
    checking for system library directory... lib
    checking whether to enable runpaths... yes
    checking if compiler supports -R... (cached) no
    checking if compiler supports -Wl,-rpath,... (cached) yes
    checking for gawk... (cached) gawk
    checking for bison... (cached) bison -y
    checking for bison version... (cached) invalid
    configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 2.4 2.4.1 (found: none).
    checking for flex... (cached) flex
    checking for yywrap in -lfl... (cached) yes
    checking lex output file root... (cached) lex.yy
    checking whether yytext is a pointer... (cached) yes
    checking for working const... (cached) yes
    checking for flex version... (cached) invalid
    configure: warning: flex versions supported for regeneration of the Zend/PHP parsers: 2.5.4 (found: )
    checking for re2c... no
    configure: warning: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking whether to force non-PIC code in shared modules... no
    checking whether /dev/urandom exists... yes
    checking for pthreads_cflags... (cached) -pthread
    checking for pthreads_lib... (cached)
    Configuring SAPI modules
    checking for AOLserver support... no
    checking for Apache 1.x module support via DSO through APXS... no
    checking for Apache 1.x module support... no
    checking whether to enable Apache charset compatibility option... no
    checking for Apache 2.0 filter-module support via DSO through APXS... no
    checking for Apache 2.0 handler-module support via DSO through APXS... no
    checking for Apache 1.x (hooks) module support via DSO through APXS... no
    checking for Apache 1.x (hooks) module support... no
    checking whether to enable Apache charset compatibility option... no
    I end up with the PHP bin files, but just can't get the module to compile.
    $ /usr/local/apache/php/bin/php -v     
    PHP 5.2.14 (cli) (built: Sep  6 2010 05:37:45)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    Have tried to make Apache execute php bin via CGI without any luck, but I think I'd rather work on compiling PHP into a module properly.
    Any help or pointers in the right direction would be greatly appreciated.
    Thanks
    Last edited by craig_nz (2010-09-08 08:07:13)

    Thanks for this!
    Using:
    ./configure \
    --with-apxs2=/usr/local/apache/bin/apxs \
    --prefix=/usr/local/apache/php \
    --disable-cgi
    --enable-so \
    --enable-rewrite \
    make
    libtool --finish /root/source-programs/apache/httpd-2.2.16/php-5.2.14/libs
    In /usr/local/apache/modules I get:
    libphp5.a  libphp5.la
    No libphp5.so yet but closer.. Also looking at how I can use ABS just to compile php.

  • To install Apache, PHP

    Hi all,
    To install Apache, MySQL & PHP, i would like use MAMP Pro (Macintosh, Apache, MySQL ans PHP).
    MAMP Pro allows easy installation and administration of the
    development environment under MAC OS X. But somebody knows if the installation process is the same
    on Mac OS X Server (10.6 in my case) that on Mac OS X?
    Cordialy!

    The installation of OS X Server and MAMP are completely and totally different, and the software versions involved are different.
    As you're probably aware, OS X Server 10.6 already contains MySQL, php, Apache and related, and (for this part of the OS X Server environment) administrative interface known as Server Admin.app. 
    If you want to use MAMP, you'll have to shut down those parts of OS X Server, if that's what you're using.  Only one application can be active on a port, such as Apache on TCP port 80.  In particular, you'll have to launch Server Admin.app and shut down the services you want to use from MAMP.  Once you have these components of OS X Server shut down, then you can install MAMP as you would on OS X client.
    If you don't want to shut everything down, you can use MAMP on non-standard ports; I haven't tried that with OS X Server, but it works with OS X client.  (OS X client also includes Apache, and can have that active on TCP port 80.)
    FWIW, MAMP is generally not recommended for use on production sites and on Internet-exposed sites.  It's set up for use during development.  OS X Server versions are set up for use in production sites, though 10.6 itself is getting old.

  • Apache and PHP not working together

    Hey all,
    Ok, I reinstalled my server yesterday and followed the LAMP wiki to set up Apache, MySQL, and PHP. Now, I got Apache and MySql working great, but when I go to directory that has a .php file to open, my brower is asking me what application I want to open with the file.
    I have set up this to handle the docuemtns:
    DirectoryIndex index.php index.phtml index.html
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
    and still no go.
    Anyone got this to work?
    Thanks!!!
    Joe

    cactus wrote:
    http://bbs.archlinux.org/viewtopic.php?t=15596
    Check and see if what I said in my last post is happening to you as well...
    Yeah, I checked and the path is correct...
    Maybe I should just reinstall it?
    Thanks!!!

  • Will Apple update Apache / MySQL / PHP on Tiger 10.4.11

    Recently, a scan was made on the two xServes that I have, both running 10.4.11 with only the web services set up. They are running the default bare bones setup for Tiger Server 10.4.11.
    The scan showed issues with the current install of Apache and PHP. I have been told I need to update the serves to a more secure version of Apache, Mysql, and PHP.
    Does anyone know if Apple is going to issue an update for this? Is my only option to patch together a more recent version of Apache, Mysql, and PHP to patch this?
    Or is Apple's answer to my dilemma is to just upgrade to Leopard?
    Thanks for your comments.

    Your choices here fairly limited; there's the upgrade Leopard, loading (for instance) the [MAMP|http://mamp.info] kit or other such kit and shut down the integrated stuff within Mac OS X Server, or rolling your own Apache and related pieces. If these are Intel Xserve boxes, then you could tactfully and officially drag your heels for a couple of months and upgrade to Snow Leopard.

  • PHP/Oracle/Apache on Windows mid tier

    Hey,
    I am trying to set up PHP to connect to my oracle instance using apache.
    The PHP/Apache set up is on XP, which I also have a 9i client installed. I am trying to then connect to a database on a linux box. the 9i client works fine, SQL*Plus and everything else works great.
    However, when I try to run my PHP I get the following error:
    Fatal error: Call to undefined function: ocilogon() in c:\program files\apache group\apache\htdocs\pear\markondo\test.php on line 12
    I have set the php.ini file to add oci extension but am not convinced that it is being pick up, hence the error !
    Any help would be really appreciated,
    Thanks,
    Mark

    Try this link:
    http://www.php.net/manual/en/install.windows.php
    You're right, it probably means PHP is not loading the php_*.dll extension for whatever version of Oracle you are running. The link above has some good comments by users who are struggling with you're problem.
    -Bryan

  • Apache php mysql installation on arch

    does anyone have a tutorial on how to install :
    - apache
    - php
    - mysql
    on Archlinux
    i have installed apache
    pacman -S apache
    pacman -S php
    pacman -S mysql
    but apache won't start : /etc/rc.d/httpd start - it gives me FAIL
    and when i try httpd it give a nasty error
    httpd: arp_sockaddr_info_get() failed for pufos (pufos - the linux box name)
    httpd: Could not reliably determine the server's fully qualified domain name , using 127.0.0.1 for ServerName
    is because i didnt configureg good httpd.conf or what
    anyway , a tutorial for installing apache php and mysql would be perfect.
    Thank guys

    pacman -S mysql
    /etc/rc.d/mysqld start
    :: Adding mysql group
    /etc/rc.d/mysqld: line 14: groupadd: command not found
    :: Adding mysql user
    /etc/rc.d/mysqld: line 19: useradd: command not found
    chown: 'mysql.mysql': invalid user
    :: Starting MySQL [FAIL]
    omg , if the mysql installed through pacman get stuck cause 'useradd' does not exist as a command .... huuuh
    ??? any sugestions ?

Maybe you are looking for

  • How can I convert an XML document to a tree structure w/properties?

    I'm working on a way for my config files to use an xml like format where data can be converted into a tree like structure for easy reading (by my program). What I need to do is know how to convert my data. Right now I check character to character loo

  • Plz-Tel me how to connect to the DME using JNDI

    This is my final sem [ M.Tech IT] project work. Problem is " I cant get connection to the DME. Though i searched a lot from Google I cant get a solution. Plz help me to get connection to the Data Mining Engine. If possible plz mail me a detailed code

  • Get doc date according to material no

    Hello all, I am working on a query which gets the po orders, document date and material numbers associated to it. My need is to get the latest document date by the material number. My date is a characteristic and not a key figure  therefore i cannot

  • Actionable emails from oracle BPM.

    Hello All , I am trying to use actionable email notifications from oracle BPM . Steps i have taken so far 1) Marked notification on Human Task as "Actionable items " 2) Mentioned valid email address in - Select SOA Administration > Workflow Task Serv

  • CATS Workflow

    Hi all Im configuring CATS for my client. I setup data entry profile as below as shown in the attachment. I have also created  Org structure for the approval process. In SWe2, I have configured the event to trigger the workflow.. Finally when I enter