PHP and version 7

Does Sun's version of the PHP engine support SSL? I am talking about the download add-on avaiable on Sun'sweb site.
Thanks
Larry

Do you mean: Can we run php script under https? If so, I wonder why not.
fastcgi/cgi script's never know that the data from webserver to client
(browser) is encrypted using SSL. cgi/fastcgi scripts will always read/write
unencrypted data. It is the SSL layer which will do the handshaking,
certificate management and encryption/decryption and other security related
stuff. The apps running inside webserver will not notice the difference.

Similar Messages

  • Versions of PHP and libxml2 for Linux Redhat

    I installed PHP 5.3.19. I had two choices from http://php.net/downloads.php. Version 5.4 or 5.3. The latest version of libxml2 available for RHEL 5.5 is 2.6.26 release 2.1.15. Should I go with this one or should I download a later version for Fedora, and if so which one, or should I download an earlier version of PHP to go with libxml2 2.6.26 release 2.1.15 and if so which one?
    Edited by: 944901 on Dec 11, 2012 11:06 AM

    - Oracle Linux 5 is also available from the repo I mentioned.
    - There are 8 extensions in the PHP source that require libxml2. I don't know which one(s) you want. I have built some in the past on OL. I expect many other people have built PHP and some or all of the XML-based extensions on RH or OL 5.x. You won't have difficulty testing it yourself since building command line PHP takes only a few steps; just don't pass an with-apxs2 flag to PHP's "configure" command. You can choose which extensions you want, such as with-simplexml (which is default, BTW)
    - The PHP RPMs will not install on OHS because the RPMs depend upon, and install into, the httpd RPM
    - The OHS web page you mentioned wasn't written by me (and is slightly obsolete regarding header files, though I've often requested the owner update it). The best instructions for installing on OHS are in the newly updated The Underground PHP and Oracle Manual. See page 86.
    - Again, I'd recommend using PHP 5.4.

  • PHP and SSIs not working in Lion

    So I had PHP and HTML SSIs working fine under SL, but now they don't seem to be working since upgrading to Lion.  I have checked the httpd.conf file and all the correct lines are still uncommented and 'Includes' is still listed as an Option Directive in both the httpd.conf file and <USER>.conf file.  Has anybody else had this problem since upgrading to Lion and how can I fix it?

    Mine is similar for something different. After uncommenting php in httpd.conf file the server refuses to boot. When I typed php -v at the command line I got this:
    dyld: Library not loaded: @loader_path/../lib/libssl.dylib
      Referenced from: /usr/lib/libpq.5.dylib
      Reason: Incompatible library version: libpq.5.dylib requires version 1.0.0 or later, but libssl.0.9.8.dylib provides version 0.9.8
    That's been frustratingly hard to fix so far (at least for me). I was just getting started helping a friend with his Joomla site and promised to duplicate the difficulty and debug it on my Mac Air. But, I installed Mountain Lion, and then more recently the latest upgrade, and everything went south as they say. I need to see what answer you get. It may apply to my problem as well.

  • Upgrade PHP and Apache on 10.6.8

    I'm thinking of upgrading PHP and Apache that were installed as part of 10.6.8 (Snow Leopard) to their current versions.
    How do I do it?
      - nello

    I posted links for creating a Macintosh, Apache, MySQL, PHP (mamp) stack on delicious:
    http://www.delicious.com/nlucchesi/tag_bundle/mamp

  • Flash Builder 4.5 for PHP and ANT

    I just installed Flash Builder 4.5 for PHP Premium and I am trying to install ANT so I can automate the AsDoc generation process.
    In the past (Flash Builder 4), I just point to "http://download.eclipse.org/releases/galileo/" and select "Eclipse Java Development Tools".
    However, when I do the same in " Flash Builder 4.5 for PHP Premium", I got an error message saying that a newer version of "Eclipse Java Development Tools" has already been installed. I go to the "Already Installed Software" tab, and indeed I see "Eclipse Java Development Tools" under "Eclipse Java IDE", but ANT is nowhere to be found.
    By the way, I am doing everything on the stock, standalone Flash Builder 4.5 for PHP Premium.
    Any suggestion is much appreciated.

    I also have Flash Builder 4.5 for PHP and the ANT view does not show when going to Window -> Show View --> Other.  I could not find it in any of the folders.
    However, I was able to add it by hitting Command 3 (CTRL 3 on PC) and typing Ant.

  • MariaDB, PHP, and mysql_connect() issue on Installation scripts

    I searched for this issue and turned out nothing..
    I am using an installation script on my web server and i get this error:
    function mysql_connect() not found:
    Your system does not appear to have mysql available within php
    I followed the wiki and have uncommented the following lines
    extension=pdo_mysql.so
    extension=mysqli.so
    extension=mysql.so
    I have also restarted the httpd daemon several times. I am using MariaDB because I know arch is dropping mysql. I followed the MariaDB wiki too and have it set-up properly.
    Here is my "mysqli" section of phpinfo()
    MysqlI Support    enabled
    Client API library version     mysqlnd 5.0.10 - 20111026 - $Id: e707c415db32080b3752b232487a435ee0372157 $
    Active Persistent Links     0
    Inactive Persistent Links     0
    Active Links     0
    Directive    Local Value    Master Value
    mysqli.allow_local_infile    On    On
    mysqli.allow_persistent    On    On
    mysqli.default_host    no value    no value
    mysqli.default_port    3306    3306
    mysqli.default_pw    no value    no value
    mysqli.default_socket    /var/run/mysqld/mysqld.sock    /var/run/mysqld/mysqld.sock
    mysqli.default_user    no value    no value
    mysqli.max_links    Unlimited    Unlimited
    mysqli.max_persistent    Unlimited    Unlimited
    mysqli.reconnect    Off    Off
    and here is "mysqlnd" in phpinfo()
    mysqlnd
    mysqlnd    enabled
    Version     mysqlnd 5.0.10 - 20111026 - $Id: e707c415db32080b3752b232487a435ee0372157 $
    Compression     supported
    SSL     supported
    Command buffer size     4096
    Read buffer size     32768
    Read timeout     31536000
    Collecting statistics     Yes
    Collecting memory statistics     No
    Tracing     n/a
    Loaded plugins     mysqlnd,example,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password
    API Extensions     mysqli
    MySQL is running as I have set-up a database and user for this installation script.

    I dropped to the command line and tried to run php and realized that mysql.so was named mssql.so..
    so for anyone that has this issue, when you install php, unless they change it next release, that's a typo you have to fix when uncommented the mysql extension
    Last edited by evil (2013-03-31 19:34:12)

  • PHP and WebLogic 8.1.4

    Hello,
    I am new to WebLogic. Searching through the archives and forums, there are many posts but no solutions for integrating PHP and WebLogic 8.1.x.
    Has anyone posted, or could they, on how to configure Weblogic 8.1.4 to use PHP?
    Second question, does PHP run under a more current version of WebLogic?
    thank you for your help.
    Sincerely,
    Robert

    Okay, let me try this a different way...
    Has anyone used PHP in an application deployed to WebLogic. If so, what version of WebLogic.
    Also, what is the earliest version of WebLogic that supports the use of PHP?
    Thank you,
    Robert

  • PHP and SQL Server with DW

    Hi,
    I have a problem with DW. I´d like to develop a site
    using PHP and SQL Server. Anyone knows if is there a extension to
    do this kind connection inside DW?
    I´ve tried to use the string that DW generates to
    connect with MySql and change it to connect with SQL Server,
    however it doesn´t work.
    I´ve already found a extension that do this, but it
    doesn´t work with DW CS3.
    Anyone can help me?
    Thank you,
    Luciano Fernandes
    PS: I have a original DW CS3

    "lucianopopo" <[email protected]> wrote in
    message
    news:ff7k9h$euc$[email protected]..
    > Hi,
    >
    > I have a problem with DW. I?d like to develop a site
    using PHP and SQL
    > Server.
    > Anyone knows if is there a extension to do this kind
    connection inside DW?
    >
    > I?ve tried to use the string that DW generates to
    connect with MySql and
    > change it to connect with SQL Server, however it doesn?t
    work.
    > I?ve already found a extension that do this, but it
    doesn?t work with DW
    > CS3.
    >
    > Anyone can help me?
    >
    > Thank you,
    > Luciano Fernandes
    >
    >
    > PS: I have a original DW CS3
    There used to be the PHAkt servermodel supporting multiple
    databases in PHP
    with Dreamweaver,
    unfortunately Adobe dropped the product after acquiring the
    company that
    produced it before the release of CS3, so
    it's not compatible with Dreamweaver CS3.
    Previous versions are available at
    http://openphakt.sourceforge.net,
    you can
    help development of a CS3 compatible version by posting bug
    reports for the
    error messages you encounter.
    Joris van Lier

  • PHP and OCI-Lob::read from oracle clob

    I'm having a weird problem with PHP and the OCI-Lob::read method.
    We have a page that connects to the database and pulls all the other fields out with no problems. However, it when it comes to the clobs, only a small portion of the actual data is retrieved.
    The code uses:
    $content= $features[14]->read(2000); echo $content;
    And we're getting a tiny section of the field returned (only about 185 out of a total 553 chars). The really strange thing is that no matter what the length specified is - it still only returns a small section - and the cut off seems to actually be 549 bytes/chars - anything below the read(length) specified as 549 shortens the returned string (even though what is returned is far less the 549 chars) but anything over 549 makes no difference.
    Additionally, we've used the OCI-Lob::load method with exactly the same results where only a portion of the actual contents of the clob field is returned.
    Any ideas what could be causing this?
    PHP version is 5.1.6
    RDBMS is 11.2.0.4.2
    Following shows OCI config via phpinfo()
    oci8
    OCI8 Support
    enabled
    Revision
    $Revision: 1.269.2.18 $
    Active Persistent Connections
    1
    Active Connections
    1
    Oracle Instant Client Version
    10.2
    Temporary Lob support
    enabled
    Collections support
    enabled
    Directive
    Local Value
    Master Value
    oci8.default_prefetch
    10
    10
    oci8.max_persistent
    -1
    -1
    oci8.old_oci_close_semantics
    0
    0
    oci8.persistent_timeout
    60
    60
    oci8.ping_interval
    60
    60
    oci8.privileged_connect
    Off
    Off
    oci8.statement_cache_size
    20
    20

    Your version of OCI8 corresponds to PECL OCI8 1.2.1, which is very old.  You can see the subsequent fixes in the changelog PECL :: oci8 Changelog In particular there have been a number of LOB changes.
    I would start by upgrading. Ideally you would use PHP 5.5 with PECL OCI8 2.0.8 and Instant Client 11.2.0.4.  Otherwise just upgrade to PECL OCI8 1.4.10 and Instant Client to 11.2.0.4.  The following instructions should help: Installing PHP and the Oracle 11g Instant Client for Linux and Windows
    I am suggesting using PECL OCI8 because it is more recent than the OCI8 in the PHP 5.1.x - 5.5.x bundles.  PHP 5.6 natively has OCI8 2.0 but you may not want to upgrade an existing site to PHP 5.6 until this branch of PHP has matured.

  • PHP and result sets: size and time

    Hi
    I'm tasked with debugging and "fixing" a PHP application which (someone else developed) is running slowly and "timing out", now that data is in there. I set about inserting some brief timing "debug" stuff within the code to attempt to determine where the rate limiting steps were happening. I found two areas in the code which were quite slow:
    1) Query of the oracle database via a package, declaration of the procedure is:
    procedure findAllSorted(sortMode in string, resultSet IN OUT types.cursortype);
    2) looping on this and filling the array into objects
              while ($res = $result->FetchRow()) {
                   // don't use $array[] = $this->load($res);, it throws an error
                   $array[] = $this->doLoad($res);
    My method timed the execution of both these steps:
    1) Execution for oracle is:11.60035777092 Seconds
    2) Execution for loop is:17.87319111824 Seconds
    the amount of data that is returned by the fiindAllSorted() procedure is not what I'd call high, although that is part of my question here ... how much is a lot?
    When I execute the procedure in PL/SQL Developer (and get all rows, not just the first 10) there are 1600 rows returned. When saved as a CSV file its about 260K of data ... I would not have thought this was problematic.
    the other part of my question is (assuming people don't say "holy cow you're returning one thousand six hundred rows") how can I speed this part of the step up?

    What values of oci8.default_prefetch or oci_set_prefetch() have you tried? See the discussion on p149 of The Underground PHP and Oracle Manual. I wonder if you are still using OCI8 1.2 with the lower default value.
    Pre-fetching from REF CURSORS was first supported with Oracle 11gR2. You only need 11gR2 client libraries - pre-fetching from basic REF CURSORS will work when connected to older DB versions. See my blog post about Oracle Database 11gR2 Enhancements for PHP. New client libraries are available free from OTN. If you can't upgrade your Oracle Client libraries then perhaps you can refactor findAllSorted() and use pipelining. This is discussed on p172 of The Underground PHP and Oracle Manual.
    Make sure your queries only select the columns you need.
    Rasmus Lerdorf's recent talk http://talks.php.net/show/digg has some good overall PHP analysis and tuning tips.
    To finish up, here is output from repeating a query with different prefetch values:
    Time to fetch 1600 rows. Prefetch is 500 : Fetch time is: 0.085 seconds
    Time to fetch 1600 rows. Prefetch is 100 : Fetch time is: 0.090 seconds
    Time to fetch 1600 rows. Prefetch is  10 : Fetch time is: 0.144 seconds
    Time to fetch 1600 rows. Prefetch is   0 : Fetch time is: 0.508 seconds

  • Hide Apache Information & PHP software version

    I would like to Hide Apache Information & PHP software version like described at this URI:
    http://www.debianadmin.com/apache-tipshide-apache-information-php-software-versi on.html
    With the OS X Server what and where is the apache directives in Apache configuration file /etc/apache2/apache2.conf?
    I assume on OS X-Server this is the httpd.conf but isn't that file not to be edited and instead edit the virtual hosts within /private/etc/apache2/sites?
    A bit of advice here and instructions like the linked page would be greatly appreciated.

    I assume on OS X-Server this is the httpd.conf but isn't that file not to be edited and instead edit the virtual hosts within /private/etc/apache2/sites?
    The ServerSignature command can be added at many levels - if it's added to /etc/apache2/httpd.conf then it applies to all sites running on this server.
    If you add it to an individual site's configuration file then it only applies to that site (other sites on the same server would still publish the server data).
    Therefore it's entirely up to you as to where you make the change, depending on what your goals are.
    It should be safe to change the directive in /etc/apache2/httpd.conf - that should be persistent. Adding it to a site's config file runs a greater risk of getting overwritten if you change the site via Server Admin.

  • Can anyone post a PHP/MySQL version of VideophoneLabs?

    My server doesn' host Sqlite3 database. Can someone post a modified version of VideophoneLabs replacing reg.cgi by reg.php and the sql tables ?

    Hi,
    could you or someone tell me if ADDT supports protection against these methods you mention:
    Protection from dictionary attacks, rainbow table attacks, brute force attacks, SQL injection attacks and much more??
    And can this system work alongside ADDT?
    thanks again

  • Sessions between php and applet

    i have question
    is there possiblity to read in applet session created in php. i have server witch php and in php i wrote "business tier". i need to read session created in php. is there a way to read this seesion by enering session id in applet parameters?

    Here's the web.xml... a trimmed version...
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>default</servlet-name>
    <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
    <init-param>
    <param-name>debug</param-name>
    <param-value>0</param-value>
    </init-param>
    <init-param>
    <param-name>listings</param-name>
    <param-value>true</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>invoker</servlet-name>
    <servlet-class>org.apache.catalina.servlets.InvokerServlet</servlet-class>
    <init-param>
    <param-name>debug</param-name>
    <param-value>0</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>jsp</servlet-name>
    <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
    <init-param>
    <param-name>logVerbosityLevel</param-name>
    <param-value>WARNING</param-value>
    </init-param>
    <load-on-startup>3</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>default</servlet-name>
    <url-pattern>/</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>invoker</servlet-name>
    <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>jsp</servlet-name>
    <url-pattern>*.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>ssi</servlet-name>
    <url-pattern>*.shtml</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>cgi</servlet-name>
    <url-pattern>/cgi-bin/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>

  • Error in creation of model and version

    Hi experts,
    While I m trying to create Model and Version SAP demo systems, it is showing me error " Live cache is not availble".
    Should I copy a planning version to new or should I contact basis team for that? It is also not allowing me to create new LC connection.
    I am attaching screen shots. Please help.

    Hi All,
    BASIS guy have configured Live Cache. We have started live Cache succesfully.
    Still facing problem in Version stating that an error occured in Live cache.
    Kindly help.
    Attaching screen shot below.

  • Include PHP and/or JAVA code in any BC site.

    I am thinking about including some PHP and/or JAVA code into my BC site and I was wondering if I am allowed to do this. Just Curious. Thanks.

    That's a shame, because I was thinking about implementing a business search api for my real estate website that was created using business catalyst that allows the collection of all real estate agents in Australia by searching and collecting their information from the Yellow Pages and White Pages directories, and include these information in a database that allows users to search for the real estate agent they want and comment on that agent. This can only be done by integrating some PHP or JAVA code into my BC website.
    So that means that the only way that I can do this is to create a web app that allows users to search for the real estate agent they want to see and comment on that agent, just by entering real estate agents' information into the web app's database and using various BC modules and plugins. Are there other easier ways to do this? Thanks.

Maybe you are looking for