About building Apache and PHP from source

Hello,
I figured my question should be posted here, if it should be done somewhere else, I apologize.
I'm in the process of exploring solaris 9 (I have RH5 - 9, FC1-3 and FreeBSD 4.7> experience). I was wondering which tools I need to build stuff from source, like Apache and PHP. I am aware of www.sunfreeware.com, which helped me out with mc and other useful stuff.
The problem I see is that when I install packages from sunfreeware.com, I must rely on the package maintainer to release a new package for newer Apache/PHP versions (with bug/security fixes in it). I plan to run a public webserver on this config, so I figured it'd be best to build what I need from the source so I can update it anytime I like.
What I installed from sunfreeware.com:
autconf
automake
gcc
make
bison
expect
mc
libiconv
ncurses
flex
What else do I need to successfully build software from the source?
Are there any people running a public web/dns/mailserver on Solaris (whatever the version)?
If someone could answer to those questions, I'd be most grateful.
Bas

Have you installed the companion CD? All you need is there.
Have you tried to compile?
If so, what errors do you get?

Similar Messages

  • Can I manage custom builds of Apache and PHP with Server Admin?

    Okay, here's the deal: I have a shiny new Xserver Xeon with Leopard Server installed. I see that it comes with a number of programs that I'll need, preinstalled, but for various reasons (extensions and modules for PHP, Apache, and the like), I may need to roll my own builds of several of these programs and libraries. In this case, the main thing I'm concerned with is recompiling Apache and PHP.
    My question is, can I do this and still manage those tools from Server Admin? I'm not averse to doing it on the command line if need be, but I'd just as soon not have to, if I have Server Admin. So, what would I need to do to make sure that I can still use Server Admin with a custom PHP and Apache?

    My main interest is in using Wiki Server with the custom Apache and PHP builds. Since that's managed through Server Admin, I figured it would be best to try and integrate with the Apple tools.
    Apache I could maybe get by without a rebuild, but there are definitely PHP modules I need which the default build does not come with.

  • Apache shows PHP files sources instead of running them.

    I've installed MySQL, Apache and PHP. All the configuration mentioned in Arch WiKi for LAMP seems to be done. But instead of executing PHP scripts Apache shows their sources as plain text. What can cause such a problem?

    I got the same problem, before I realize that by double clicking on my file opens it in firefox, but with
    "file://......"
    instead of
    "http://localhost/...."
    so the file was not interpreted by php.

  • Apache and PHP Security Scans

    I am now required to keep up with the latest versions of Apache and PHP on my Xserves for security reasons. Is there an easy way to do this?

    In order to keep up with security updates you'll have to install your own apache and php and stop using the ones that comes with Mac OS X (i think it is a good idea to do that anyway).
    Fortunately there are tools out there that will help you.
    I use macports, (http://macports.org) but if you decide to use it you will no longer be able to start, stop and control apache from the Server Admin interface. (there is actually a way to continue to do it but it will break at any system update you run).
    If you are comfortable controlling the server with the command line you'll like it very much and at the end feel it is a great improvement over the apache/php that ships with OS X.
    There is also Fink (http://www.finkproject.org/) but i have never used it so i can't say if it will work well or not and i'm sure it will also prevent you from using the Server Admin.
    Good luck.

  • How to uninstall default Apache and PHP

    I use Lion 10.8.2。Now  i  want to uninstall default Apache and PHP。But i don't how to do it . Because i want to use nginx and update php to 5.4 or new.
    Than you very much.

    2. If I want to retrieve information from the database
    and display the information in the applet, what should
    I do then ?
    You would read the response given by the PHP side and parse it. How this is done depends on how PHP returns the data. It should preferrably be plain text or some other simple format, not HTML.
    Another problem is, when I tried to send a HTTP request, I get an exception :
    access denied ( java.net.SocketPermission "the host name") resolve
    What is that and how do I solve the problem ?What applets are allowed to do is severly restricted because they are loaded and started by a web browser when a user visits a web page without consulting the user. You wouldn't like some site delete all files on your hard drive while you're browsing the web. Opening network connections to servers other than where the applet was originally downloaded from is another thing that is not allowed.
    There are two ways to solve this: put the php script and the applet on the same server, or sign the applet. Signing an applet means assuring the user that the applet won't do anything bad and that it's ok to allow it to do something that would otherwise be forbidden, here's an example:
    http://java.sun.com/security/signExample12/signedPluginEx.html

  • Need Urgent Help with Apache and PHP

    I have been struggling with apache and php for a week now and I finally broke down to post a message.
    I have apache 1.3 running on my mac mini g4 with 10.4.9 and I installed sql. I went to the entropy website and downloaded php5 to install without knowing I already had php4 on the machine. I installed 5 but could not get it to work. I then went back to httpd.conf and tried to install php4 by uncommenting out the loadmodule and addmodule lines. I restarted apache but php still did not work. I tested the phpinfo.php script but all I got was the script in Safari and not the actual page. At the moment, I have php4 and php5 on my machine but can't get either one to work. I am sure there is an easy fix but I don't know it. Please help.

    The problem is not terribly complicated, but Apache will not start with the entropy file in the folder
    /etc/httpd/users/
    Let me experiment on you. Rename the entropy file and then try to start Apache. To do this, open Terminal and paste this command:
    <pre>sudo mv /etc/httpd/users/+entropy.conf /etc/httpd/users/+entropy<pre>
    Now check the Apache configuration:
    <pre>apachectl configtest<pre>
    If it says "Syntax OK", start Apache:
    <pre>sudo apachectl start<pre>
    Since we only disabled the entropy file, you should be able to enable PHP5 with some more advanced configuring.

  • Apache and PHP update causes an error

    Apple update downloaded updates for apache and php, since then I cant get to work my squirrel mail, because web wont start if it has the php plugin enabled, any help or suggestions ???

    Shxnnxn please see Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html for information on how to resolve Error 49.

  • I have downloaded MAMP for Mac and want to use it for working with Wordpress. I had mysql installed before this and would like to uninstall it and use MAMP. It was easy to turn off Apache and PHP but don't know how to uninstall mysql. Please help!!

    I have downloaded MAMP for Mac and want to use it for working with Wordpress. I'm on an Imac with Maverick OS 10.9. I had mysql installed before this and would like to uninstall it and use MAMP. It was easy to turn off Apache and PHP but don't know how to uninstall mysql. Please help!!

    It depends on how you installed it. You have to shutdown the MySQL service first. If you used the standard, but obsolete Startup Item, you can do that with the Startup Item. If you created a launchd script, you can do it with launchctl. Once MySQL is no longer running, you can delete the Startup Item or launchd script and the rest of MySQL.

  • A question about item "type and release" of  source system creation

    Hello expert,
    I have a question about item "type and release" of  source system creation.
    As we know,when we create a web servie source system,there will display a pop-up which includes three items as "logical system","source system"and "type and release".
    About the item "type and release",when we push "F4" button,there will be three default selections as below:
    "ORA 115     Oracle Applications 11i
    TLF 205     Tealeaf 2.05B
    XPD 020     SAP xPD".
    Who can tell me when and how should I use the three selections.
    And also I attempted to input the item by some optional letters except the default three selections and it seems that I can input it freely.
    Thank you and Best Regards,
    Maggie

    Hello DMK,
    Thank you very much for your answer.It is very helpful for me.
    Can I ask you further about it?
    I got that it is a semantic description item.
    You said the default selections are set by our basis people.Would you like to tell me how should we creat a new value except the default ones for item "type and release"?Only by inputing the value in the item directly?But you see we canot see the new value item we created by ourself when we push "F4" button next time ,is that ok?Or do we have to ask basis people to define one new value item just like the default seletions before we use it.
    Also if possible would you like to describe detail about "This becomes important when you are troubleshooting certain issues especially when RFC connection problems."
    Thank you and Best Regards,
    Maggie
    Message was edited by: Maggie

  • Multiple versions of Apache and PHP

    I'm setting up a new Xserve with Apache2 and PHP5. I understand that Xserves ship with Apache2 and Apache 1.1 already installed and when I do
    httpd -v
    it reports back the older version of Apache. When I do
    php -v
    it reports back version 4.4.1.
    At the time I investigated this, I didn't know Apple had pre-installed Apache2 so I installed it via Fink and FinkCommander. When I installed it originallyl from the entropy.ch files, asking httpd for its version reported the older version even though the System Preference pane said that Apache2 was up and running. What is going on that both are running simultaneously?
    After installing Apache2 via Fink, httpd now properly reports its version as 2.0.55... which is what I would expect after properly updating Apache from 1 to 2.
    I'm experiencing something similar with my PHP5 installation via Fink. Asking terminal for php -v reports version 4.4.1, however when I query PHP through a web script running phpinfo() it reports back in the web browser as being version 5.0.4.
    So, what triggers the command line to report back different versions of installed web services than other methods? Why does my webpage through phpinfo() report back 5.0.4 where terminal says php -v is 4.4.1? Does it even matter? Does this mean two copies of PHP are running? What turned on the old version? I thought PHP had to be triggered by a PHP request. Why does Apache2, when insttalled through one method still report the older version when queried through terminal, but installed a idffererent way report the new version? Why did that not seem to afffect the ability for Apache2 to run properly? What does the version, as reported through terminal, of a given web service even mean if multiple versions of web services can run simultaneously and multiple reports of those versions can return different results? For that matter, how can I then truly verify that the version running is the version I installed? It wasn't until terminal reported my version of httpd as being 2.0.55 until I felt like the Apache2 installation was truly successful. Was I overthinnking the problem? Is there even a problem? Aaaagghghgh!!!!!!
    17 Powerbook - 1.5Ghz   Mac OS X (10.4.4)   2GB RAM, Adobe CS2, Xcode 2.2

    Ahhh!!!! OK, that makes a ton of sense. I checked the PATH environment variable and see what you're talking about.
    This kind of leads to a follow up question . If I do a
    php -v
    and I get back some information about some version of php installed at some path referenced in the environment variable, how can I tell what path OS X found the php command in? Is there any way to say, "Hey, computer, tell me where you think php is located." Because there are seven or eight paths I could search in, but it seems like a trivial matter for the computer to just tell me where it's looking, rather than me hunting for the command file.
    It also seems that fink has installed /sw paths into my environment variable for me and that my apache httpd command is located in one of these but my new installation of php5 is not. That's really what was tripping me up was that I hadn't modified the environment variable for $PATH myself and some things were reporting properlly and others were not. Fink did most of the work I expected, but not all, leading to a confusing version report.
    17 Powerbook - 1.5Ghz Mac OS X (10.4.4) 2GB RAM, Adobe CS2, Xcode 2.2
    17 Powerbook - 1.5Ghz Mac OS X (10.4.4) 2GB RAM, Adobe CS2, Xcode 2.2

  • 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!!!

  • Apache and PHP upgrade

    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 as Apple doesn't yet include these upgrades I'd like to keep them seapate from existing installs. Would installing in usr/local be the reasonable place for installation and has anyone here done this install?

    I posted an answer to your question here:
    http://discussions.apple.com/message.jspa?messageID=2000747#2000747
    Not sure which of these threads is the real you! If you posted under two different pseudonyms and are able to access both accounts, please stick to using only one account. If however, you can't access the old account, I understand, just subscribe to the old thread that you posted in so people aren't posting the same answer to your question twice.

  • Transformation logic for char and keyfigure from source keyfigures and flag

    Hi All,
       My requirement is populate char and keyfigure values from source keyfigures and flag, which is like transformation of converting the Key Figure based structure to the accounts based structure. I am loading data from the cube1 to cube2,
    cube1 structure with sample data:
    Plant Furnace ZFurnace ZPlant1 Zplant2 Flag
    P01     Blank      0                56        73      P
    Blank     F01      335               0           0       F
    Target Cube str with sample data
    Plant  Furnace    FS(Char)   KYF   Flag
    P01     Blank         1               56       P
    Blank  F01            2               335    F
    P01      Blank         3               73      P
    ZPlant1, ZPlant2 and ZFurnace are the keyfigure tech.names.
    FS has master data:
    FScode  KYF            Flag
    1             ZPlant1        P
    2             ZFurnace     F
    3             Zplant2         P
    While loading data from the source cube1 I need to read FS master data and than fill FS code in target cube based on source Flag and  Key figure technical names.
    I would be greatly appreciate with points if anyone can help me in writing the ABAP logic. The challenging part for me is comparing key figure technical names in cube1 with the FS master data key figure values.
    Thanks.
    Baba.

    Hi All,
       Actually there will be 18 records in FS master data and there will not more than 18 Key figures. Is there any way I can hardcore the values and write small code.
    something like:
    if KYF = Zplant1.
         WA_FSCODE  = '1'.
       WA_EU = source_fields-KYF.
    WA_PLant = source_fields-plant.
    wa_furnace = source_fields-furnace.
    else
        if kyf = zplant2
    Please let me know the sample logic with code. I greatly appreciate with points..
    Regards
    Baba

  • Flash Builder 4 and PHP  Data/Services for beginners

    Hello,
    I'm new here, so I do not know if I posted my doubts in the right place.
    without much la la la go straight to the point.
    I am developing an application in flex / mysql / php / zend DataWizard and used the flex to create the data service.
    populei my dropdown with the desired data (cities) and populei my datagrid with their respective data (customer master), so far so good. That's when I came across a difficulty which already makes two weeks and try to solve anything. the little knowledge I have in programming know it's something silly, but I can not solve.
    Difficulty: I select a city in my dropdown and display all my customers registered in the same city in my datagrid. simple! I found some tutorials on the net talking about it, did exactly what her boss but unfortunately got no success (not populates the datagrid), may be doing algor be unable to realize. so it follows my code so they can help me. grateful!!
    FLEX CODE
    / / Populating DropDownList City
    protected function ddl_cidade_cadastro_solutions_creationCompleteHandler(event:FlexEvent):void
    getAllMunicipioResult.token = municipioService.getAllMunicipio();
    //Populating DataGrid
    protected function ddl_cidade_cadastro_solutions_changeHandler(event:IndexChangeEvent):void
    txt_recebe_cidade.text = ddl_cidade_cadastro_solutions.selectedItem.Cidade_PJ;
    getAllEmpresasResult.token = empresasService.getAllEmpresas(ddl_cidade_cadastro_solutions.selectedItem.Cidade_PJ);
    PHP CODE
    public function getAllEmpresas($q) {
    $stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename WHERE 'Cod_Cidade_PJ' LIKE '%$q%'");
    $this->throwExceptionOnError();
    mysqli_stmt_execute($stmt);
    $this->throwExceptionOnError();
    $rows = array();
    mysqli_stmt_bind_result($stmt, $row->Codigo, $row->CGC, $row->CEmpresa, $row->NomeFantasia, $row->RazaoSocial, $row->Endereco_PJ, $row->Bairro_PJ, $row->CEP_PJ, $row->Cod_Cidade_PJ, $row->Cidade_PJ, $row->Estado_PJ, $row->TelefoneDDD_PJ, $row->Telefone_PJ, $row->FaxDDD_PJ, $row->Fax_PJ, $row->Email_PJ, $row->RecEmail_PJ, $row->HomePage_PJ, $row->NumFunc, $row->CodPorte, $row->Porte, $row->CodRegiao, $row->Regiao, $row->CodCNAE, $row->CNAE, $row->Produto, $row->ExportaPais, $row->IndustriaSN, $row->AnuncianteSN, $row->RowNumber, $row->negrito);
    while (mysqli_stmt_fetch($stmt)) {
    $rows[] = $row;
    $row = new stdClass();
    mysqli_stmt_bind_result($stmt, $row->Codigo, $row->CGC, $row->CEmpresa, $row->NomeFantasia, $row->RazaoSocial, $row->Endereco_PJ, $row->Bairro_PJ, $row->CEP_PJ, $row->Cod_Cidade_PJ, $row->Cidade_PJ, $row->Estado_PJ, $row->TelefoneDDD_PJ, $row->Telefone_PJ, $row->FaxDDD_PJ, $row->Fax_PJ, $row->Email_PJ, $row->RecEmail_PJ, $row->HomePage_PJ, $row->NumFunc, $row->CodPorte, $row->Porte, $row->CodRegiao, $row->Regiao, $row->CodCNAE, $row->CNAE, $row->Produto, $row->ExportaPais, $row->IndustriaSN, $row->AnuncianteSN, $row->RowNumber, $row->negrito);
    mysqli_stmt_free_result($stmt);
    mysqli_close($this->connection);
    return $rows;

    Hi,
    The first issue will be the pathing differences between wamp/mamp/xampp, some use www as root others htdoc you need to setup the php services on your local machine rather than importing a project.
    The created services will have a connection array declared at the top of the code that points to the mysql server, in the project default debug folder you will have the config file that has the zend and webserver path
    top of service file
    ============
    var $username = "root";
    var $password = "";
    var $server = "localhost";
    var $port = "3306";
    var $databasename = "zend";
    var $tablename = "clients";
    var $connection;
    amfconfig.ini
    =========
    [zend]
    ;set the absolute location path of webroot directory, example:
    ;Windows: C:\apache\www
    ;MAC/UNIX: /user/apache/www
    webroot =C:/wamp/www
    ;set the absolute location path of zend installation directory, example:
    ;Windows: C:\apache\PHPFrameworks\ZendFramework\library
    ;MAC/UNIX: /user/apache/PHPFrameworks/ZendFramework/library
    ;zend_path =
    [zendamf]
    amf.production = false
    amf.directories[]=Zender-debug/services
    In your main project folder you have a .model folder the file there is an *.fml file that contains your channel endpoints etc.
    David.

  • Updates for Apache and PHP coming

    Hi all
    I am new to os x and Mac in general. I would like to use my shinny new MacBook Pro as a mobile development platform for apache2, php, javascript, ajax. However, I am unable to find a binary of apache2 that is ready to install. Is there such an animal?
    I would rather not use valuable disk space to load a compiler. All my other work is on Linux where I am comfortable compiling from tar files, but this is a new bird and my time is short.
    Any information is appreciated.
    Thanks,
    Bob

    I understand that Apache 2 will come with OS 10.5 this spring. Otherwise, I think you'll need to build it yourself. Or maybe you can find a binary at http://fink.sourceforge.net/

Maybe you are looking for

  • Error while enabling Delta on HCM_Stageing_Area

    Hi, I'm reading an Import File and trying to enable delta. Unfortunately it fails with following error messages: Error inserting entry in delta. DN: java.sql.SQLException: ORA-01400: cannot insert NULL into ("MXMC_OPER"."LOGENTRIES"."DN") And: Error

  • Why doesn't a RAW image placed in a Photoshop Document  pick up changes?

    I have just noticed that if you place a RAW image in a PSD(CS6), then tweak the RAW image using Camera RAW, the changes are not picked up by the PSD. I always try and keep my PSDs as open to change as possible and placing is a big part of this. Usual

  • Nephew used bogus email account(used valid credit card)

    I am trying to help my Nephew to regain his previous purchases in iTunes. When he received his iPod Touch last year, a friend helped him setup his account using a bogus email address. However, he did use a valid credit card and was able to purchase m

  • How to pull records only for particular date range in Flex frm SAP wd table

    Hi, Can anyone help me with databing for datefield. I am using two datefields in Flex for Start Date and End Date. When I click the Execute button, it should pull only the records for that date range from SAP wd table and display in my Flex datagrid.

  • Why won't Adobe Digital Editions recognise my ereader?

    I am trying to transfer an ebook to my Sony PRS-T2N reader using Adobe Digital Editions. However, the program does not seem to be recognising my ereader. Since it supports pretty much all the Sony readers, I assume it should be able to recognise mine